Borderou de evaluare (job #2518238)

Utilizator tryharderulbrebenel mihnea stefan tryharderul Data 5 ianuarie 2020 13:08:48
Problema Turnuri2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 70

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:22:18: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d",&n); ^ main.cpp:25:37: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d%d",&v[i].h,&v[i].f); ^ main.cpp:25:37: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] main.cpp:46:56: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] for(i=1;i<=n;i++)printf("%d\n",max(maxs[i],maxd[i])); ^ main.cpp:19:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("turnuri2.in","r",stdin); ^ main.cpp:20:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("turnuri2.out","w",stdout); ^ main.cpp:22:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ main.cpp:25:38: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&v[i].h,&v[i].f); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK1010
22ms131kbOK1010
33ms262kbOK1010
476ms3932kbOK1020
570ms3407kbOK10
6100ms5636kbOK1020
7113ms5607kbOK10
8553ms36110kbMemory limit exceeded00
9547ms36110kbMemory limit exceeded0
10716ms36110kbMemory limit exceeded0
Punctaj total70

Ceva nu functioneaza?