Pagini recente » Borderou de evaluare (job #3228457) | Borderou de evaluare (job #3267814) | Borderou de evaluare (job #34760) | Borderou de evaluare (job #3233577) | Borderou de evaluare (job #2351951)
Borderou de evaluare (job #2351951)
Raport evaluator
Compilare:
main.cpp:13:19: warning: integer constant is so large that it is unsigned
if(summ[n] != MINF)
^~~~
main.cpp:16:27: warning: integer constant is so large that it is unsigned
long long sp, spmax = MINF;
^~~~
main.cpp:40:16: warning: integer constant is so large that it is unsigned
maxx = MINF;
^~~~
main.cpp:44:23: warning: integer constant is so large that it is unsigned
summ[i] = MINF;
^~~~
main.cpp:54:27: warning: integer constant is so large that it is unsigned
if(summ[i] == MINF)
^~~~
main.cpp: In function 'int main()':
main.cpp:57:28: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n", maxx);
^
main.cpp:34: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);
^
main.cpp:35: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);
^
main.cpp:36:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
main.cpp:39:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:43:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", val + i);
^
main.cpp:49:34: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 363ms | 2359kb | Incorect | 0 |
Punctaj total | 0 |