Borderou de evaluare (job #2370335)

Utilizator MoldovanAndrei1Moldovan Andrei MoldovanAndrei1 Data 6 martie 2019 11:39:57
Problema Sarpe2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 90

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:62:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d\n",sum); ^ main.cpp:16:17: warning: unused variable 'nr' [-Wunused-variable] int n,m,i,j,nr; ^~ main.cpp:14:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("sarpe2.in","r",stdin); ^ main.cpp:15:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("sarpe2.out","w",stdout); ^ main.cpp:18:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ main.cpp:19:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] for(i=1;i<=m;i++){scanf("%d",&k[i]);} ^ main.cpp:25:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
13ms393kbIncorect00
23ms393kbIncorect0
38ms1048kbOK510
47ms1048kbOK5
523ms1966kbOK510
618ms1703kbOK5
7420ms9306kbOK510
8377ms9175kbOK5
9413ms8781kbOK510
10376ms9306kbOK5
11413ms9175kbOK510
12382ms9306kbOK5
13415ms9306kbOK510
14338ms9306kbOK5
15388ms9175kbOK510
16372ms9306kbOK5
17413ms8912kbOK510
18356ms9437kbOK5
19413ms9306kbOK510
20363ms9539kbOK5
Punctaj total90

Ceva nu functioneaza?