Borderou de evaluare (job #1728907)

Utilizator GabiTulbaGabi Tulba-Lecu GabiTulba Data 13 iulie 2016 20:15:55
Problema Cmmdc2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 70

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d",&N,&K); ^ user.cpp:9:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:12:16: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d",&X); ^ user.cpp:28:17: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d\n",O); ^ user.cpp:30:22: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%d ",out[i]); ^ user.cpp:7:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmmdc2.in","r",stdin); ^ user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmmdc2.out","w",stdout); ^ user.cpp:9:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&N,&K); ^ user.cpp:12:17: 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
10ms272kbOK5
2316ms7984kbOK5
3160ms4084kbOK5
40ms280kbOK5
5348ms8020kbOK5
64ms428kbOK5
7304ms10748kbOK5
836ms3476kbOK5
976ms5036kbOK5
10680ms17128kbOK5
11732ms17116kbOK5
12748ms17104kbOK5
13800ms17004kbOK5
14Depăşit16736kbTime limit exceeded.0
15Depăşit16668kbTime limit exceeded.0
16Depăşit10264kbTime limit exceeded.0
17Depăşit16704kbTime limit exceeded.0
18Depăşit16672kbTime limit exceeded.0
19Depăşit16664kbTime limit exceeded.0
200ms272kbOK5
Punctaj total70

Ceva nu functioneaza?