Borderou de evaluare (job #2461134)

Utilizator cristinaveraCristina Verdeata cristinavera Data 24 septembrie 2019 21:57:44
Problema Silvania Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 85

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:14:9: warning: unused variable 'j' [-Wunused-variable] int n,i,j; ^ main.cpp:12:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("silvania.in","r",stdin); ^ main.cpp:13:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("silvania.out","w",stdout); ^ main.cpp:15:15: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ main.cpp:18:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i].num),sum=sum+v[i].num; ^ main.cpp:20:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i].poz); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK55
23ms131kbOK55
366ms131kbOK50
462ms131kbOK5
528ms131kbIncorect0
666ms131kbOK515
761ms131kbOK5
834ms131kbOK5
9302ms131kbOK530
10606ms131kbOK5
11444ms131kbOK5
12932ms229kbOK5
13558ms131kbOK5
14410ms131kbOK5
15288ms131kbOK530
16640ms131kbOK5
17425ms131kbOK5
18633ms131kbOK5
19681ms131kbOK5
201251ms131kbOK5
Punctaj total85

Ceva nu functioneaza?