Pagini recente » Borderou de evaluare (job #2834161) | Borderou de evaluare (job #807217) | Borderou de evaluare (job #2240822) | Borderou de evaluare (job #1124820) | Borderou de evaluare (job #2368035)
Borderou de evaluare (job #2368035)
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 |
1 | 101ms | 131kb | Time limit exceeded | 0 |
2 | 100ms | 131kb | Time limit exceeded | 0 |
3 | 101ms | 131kb | Time limit exceeded | 0 |
4 | 101ms | 131kb | Time limit exceeded | 0 |
5 | 101ms | 262kb | Time limit exceeded | 0 |
6 | 103ms | 393kb | Time limit exceeded | 0 |
7 | 100ms | 524kb | Time limit exceeded | 0 |
8 | 101ms | 1048kb | Time limit exceeded | 0 |
9 | 100ms | 1441kb | Time limit exceeded | 0 |
10 | 101ms | 1703kb | Time limit exceeded | 0 |
Punctaj total | 0 |