Pagini recente » Borderou de evaluare (job #1223421) | Borderou de evaluare (job #2876103) | Borderou de evaluare (job #2589997) | Borderou de evaluare (job #1097173) | Borderou de evaluare (job #1841862)
Borderou de evaluare (job #1841862)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&x);
^
user.cpp:18:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&x);
^
user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suma2.in","r",stdin);
^
user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("suma2.out","w",stdout);
^
user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:18: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 |
1 | 0ms | 452kb | OK | 10 |
2 | 0ms | 456kb | OK | 10 |
3 | 0ms | 472kb | OK | 10 |
4 | 0ms | 488kb | OK | 10 |
5 | 4ms | 528kb | OK | 10 |
6 | 4ms | 548kb | OK | 10 |
7 | 12ms | 628kb | OK | 10 |
8 | 20ms | 832kb | OK | 10 |
9 | 36ms | Depăşit | Memory limit exceeded. | 0 |
10 | 40ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 80 |