Pagini recente » Borderou de evaluare (job #2734358) | Borderou de evaluare (job #810561) | Borderou de evaluare (job #478704) | Borderou de evaluare (job #2167939) | Borderou de evaluare (job #1851358)
Borderou de evaluare (job #1851358)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:21:32: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%I64d", &val[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:84:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%I64d\n", sum_max());
^
user.cpp: In function ‘void read()’:
user.cpp:18:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:21:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%I64d", &val[i]);
^
user.cpp:26:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
user.cpp: In function ‘int main()’:
user.cpp:77:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("easygraph.in", "r", stdin);
^
user.cpp:78:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("easygraph.out", "w", stdout);
^
user.cpp:79:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &task);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 520ms | 2364kb | Incorect | 0 |
Punctaj total | 0 |