Borderou de evaluare (job #2274742)

Utilizator rares22iunieDoroftei Rares rares22iunie Data 2 noiembrie 2018 13:54:42
Problema Cmmdc2 Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:10:24: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d %d",&n,&k); ^ main.cpp:10:24: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] main.cpp:13:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d",&x); ^ main.cpp:24:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d\n",q); ^ main.cpp:29:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d ",j); ^ main.cpp:8: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); ^ main.cpp:9: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); ^ main.cpp:10:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&n,&k); ^ main.cpp:13: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
1328ms131kbOK5
2272ms655kbOK5
3294ms393kbOK5
4294ms131kbOK5
5303ms393kbOK5
6326ms262kbOK5
7255ms2883kbOK5
8274ms1703kbOK5
9270ms2490kbOK5
10554ms8781kbOK5
11615ms8781kbOK5
12653ms8781kbOK5
13695ms8781kbOK5
14774ms8912kbOK5
15803ms8650kbTime limit exceeded0
16803ms8126kbTime limit exceeded0
17806ms8650kbTime limit exceeded0
18748ms8781kbOK5
19762ms8781kbOK5
20300ms262kbKilled by Signal 80
Punctaj total80

Ceva nu functioneaza?