Pagini recente » Borderou de evaluare (job #3215451) | Borderou de evaluare (job #2163461) | Borderou de evaluare (job #1074271) | Borderou de evaluare (job #588335) | Borderou de evaluare (job #2471891)
Borderou de evaluare (job #2471891)
Raport evaluator
Compilare:
main.cpp:7:28: warning: integer overflow in expression [-Woverflow]
const long long inf=1000000*15000+5;
~~~~~~~^~~~~~
main.cpp: In function 'int main()':
main.cpp:48:21: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d\n", sol);
^
main.cpp:26:38: 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:27:40: 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:29:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
main.cpp:33:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &m);
^
main.cpp:35:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
main.cpp:40:25: 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 | 342ms | 2359kb | Incorect | 0 |
Punctaj total | 0 |