Problem | sumint |
---|---|
User | TheAccomplice |
Submission Time | 2024-04-13 10:07:23 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
sumint.cpp: In function ‘int main()’:
sumint.cpp:11:29: error: expected ‘;’ before ‘<’ token
11 | for (long long int i = 0, i < x, i++){
| ^~
| ;
sumint.cpp:11:30: error: expected primary-expression before ‘<’ token
11 | for (long long int i = 0, i < x, i++){
| ^
sumint.cpp:11:38: error: expected ‘;’ before ‘)’ token
11 | for (long long int i = 0, i < x, i++){
| ^
| ;
sumint.cpp:15:33: error: conversion from ‘int’ to non-scalar type ‘std::vector<long long int>’ requested
15 | vector <long long int> total = 0;
| ^
sumint.cpp:16:29: error: expected ‘;’ before ‘<’ token
16 | for (long long int i = 0, i < x, i++){
| ^~
|