Borderou de evaluare (job #2427203)

Utilizator zoooma13Hazem Issa zoooma13 Data 31 mai 2019 09:30:32
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:91:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d\n",res); ^ main.cpp:36: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:37: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:39: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:41: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:47: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
172ms36700kbOK10
265ms36880kbMemory limit exceeded0
375ms36880kbMemory limit exceeded0
4149ms36880kbMemory limit exceeded0
5200ms36880kbMemory limit exceeded0
6193ms36880kbMemory limit exceeded0
7199ms36880kbMemory limit exceeded0
8214ms36880kbMemory limit exceeded0
9187ms36880kbMemory limit exceeded0
10202ms36868kbMemory limit exceeded0
Punctaj total10

Ceva nu functioneaza?