Pagini recente » Borderou de evaluare (job #94221) | Borderou de evaluare (job #1967914) | Borderou de evaluare (job #2584713) | Borderou de evaluare (job #620886) | Borderou de evaluare (job #2351949)
Borderou de evaluare (job #2351949)
Raport evaluator
Compilare:
main.cpp:13:19: warning: integer constant is so large that it is unsigned
if(summ[n] != MINF)
^~~~
main.cpp:16:21: warning: integer constant is so large that it is unsigned
int 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 'long long int depth(int)':
main.cpp:3:15: warning: overflow in implicit constant conversion [-Woverflow]
#define MINF -9223372036854775808
^
main.cpp:16:21: note: in expansion of macro 'MINF'
int sp, spmax = 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 | 370ms | 2359kb | Incorect | 0 |
Punctaj total | 0 |