Borderou de evaluare (job #2274741)

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

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:9:24: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=] scanf("%d %d",&n,&k); ^ main.cpp:9:24: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long int*' [-Wformat=] main.cpp:12:22: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long int*' [-Wformat=] scanf("%d",&x); ^ main.cpp:23:20: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("%d\n",q); ^ main.cpp:28:27: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long int' [-Wformat=] printf("%d ",j); ^ main.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); ^ main.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); ^ main.cpp:9: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:12: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
1274ms131kbOK5
2282ms524kbOK5
3329ms262kbOK5
4315ms131kbOK5
5293ms262kbOK5
6276ms262kbOK5
7237ms2883kbOK5
8271ms1703kbOK5
9250ms2621kbOK5
10537ms8781kbOK5
11606ms8781kbOK5
12641ms8781kbOK5
13681ms8781kbOK5
14732ms8912kbOK5
15803ms8388kbTime limit exceeded0
16800ms8126kbTime limit exceeded0
17800ms8126kbTime limit exceeded0
18801ms8126kbTime limit exceeded0
19800ms8126kbTime limit exceeded0
20309ms262kbKilled by Signal 80
Punctaj total70

Ceva nu functioneaza?