Borderou de evaluare (job #1342174)

Utilizator ovidiuz98Zamfir Ovidiu ovidiuz98 Data 13 februarie 2015 16:37:58
Problema Suman Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12: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:12:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:14:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&x); ^ user.cpp:32:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",Sol); ^ user.cpp:10: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:11: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:12: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:14: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
10ms280kbOK100
212ms276kbIncorect0
356ms280kbIncorect0
4Depăşit248kbTime limit exceeded.00
5Depăşit248kbTime limit exceeded.0
6Depăşit252kbTime limit exceeded.0
7Depăşit248kbTime limit exceeded.0
8Depăşit248kbTime limit exceeded.0
9Depăşit248kbTime limit exceeded.0
10Depăşit248kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?