Borderou de evaluare (job #2427204)

Utilizator zoooma13Hazem Issa zoooma13 Data 31 mai 2019 09:34:29
Problema Casute Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:92:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d\n",res); ^ main.cpp:37:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("casute.in" ,"r" ,stdin); ^ main.cpp:38:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("casute.out" ,"w" ,stdout); ^ main.cpp:40: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:42:49: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&h[i].first) ,h[i].second = i; ^ main.cpp:48:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
161ms36700kbOK10
265ms36880kbMemory limit exceeded0
375ms36880kbMemory limit exceeded0
4149ms36880kbMemory limit exceeded0
5201ms36880kbMemory limit exceeded0
6203ms36880kbMemory limit exceeded0
7199ms36880kbMemory limit exceeded0
8207ms36880kbMemory limit exceeded0
9201ms36880kbMemory limit exceeded0
10176ms36880kbMemory limit exceeded0
Punctaj total10

Ceva nu functioneaza?