Borderou de evaluare (job #2368035)

Utilizator alexradu04Radu Alexandru alexradu04 Data 5 martie 2019 13:27:16
Problema Copaci Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:15:18: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d",&n); ^ main.cpp:17:38: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=] scanf("%d %d",&t[i].x,&t[i].y); ^ main.cpp:17:38: warning: format '%d' expects argument of type 'int*', but argument 3 has type 'long long int*' [-Wformat=] main.cpp:24:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] printf("%d",s-b/2+2); ^ main.cpp:12:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("copaci.in","r",stdin); ^ main.cpp:13:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("copaci.out","w",stdout); ^ main.cpp:15:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&n); ^ main.cpp:17:39: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&t[i].x,&t[i].y); ^ main.cpp:24:18: warning: 's' may be used uninitialized in this function [-Wmaybe-uninitialized] printf("%d",s-b/2+2); ~^~~~ main.cpp:24:20: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized] printf("%d",s-b/2+2); ~^~
Test Timp executie Memorie folosita Mesaj Punctaj/test
1101ms131kbTime limit exceeded0
2100ms131kbTime limit exceeded0
3101ms131kbTime limit exceeded0
4101ms131kbTime limit exceeded0
5101ms262kbTime limit exceeded0
6103ms393kbTime limit exceeded0
7100ms524kbTime limit exceeded0
8101ms1048kbTime limit exceeded0
9100ms1441kbTime limit exceeded0
10101ms1703kbTime limit exceeded0
Punctaj total0

Ceva nu functioneaza?