Borderou de evaluare (job #1452596)

Utilizator ovidiuz98Zamfir Ovidiu ovidiuz98 Data 21 iunie 2015 13:43:50
Problema Suman Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:42:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&N,&K); ^ user.cpp:42:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:44:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&x); ^ user.cpp:62:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",Sol); ^ user.cpp:40:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("suman.in","r",stdin); ^ user.cpp:41:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("suman.out","w",stdout); ^ user.cpp:42:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&N,&K); ^ user.cpp:44:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms252kbOK1030
20ms256kbOK10
30ms256kbOK10
40ms260kbIncorect00
548ms260kbIncorect0
60ms256kbIncorect0
70ms252kbIncorect0
8Depăşit236kbTime limit exceeded.0
9Depăşit236kbTime limit exceeded.0
100ms256kbIncorect0
Punctaj total30

Ceva nu functioneaza?