Pagini recente » Borderou de evaluare (job #1861653) | Borderou de evaluare (job #3227284) | Borderou de evaluare (job #1736569) | Borderou de evaluare (job #462250) | Borderou de evaluare (job #1708411)
Borderou de evaluare (job #1708411)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&N,&B);
^
user.cpp:31:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:47:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",a[1]);
^
user.cpp:28:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nr.in","r",stdin);
^
user.cpp:29:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nr.out","w",stdout);
^
user.cpp:31:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&N,&B);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK | 10 |
2 | Depăşit | 260kb | Time limit exceeded. | 0 |
3 | Depăşit | 264kb | Time limit exceeded. | 0 |
4 | Depăşit | 264kb | Time limit exceeded. | 0 |
5 | 532ms | 288kb | Incorect | 0 |
6 | 424ms | 292kb | OK | 10 |
7 | 108ms | 296kb | OK | 10 |
8 | 40ms | 284kb | Incorect | 0 |
9 | 4ms | 284kb | OK | 10 |
10 | 0ms | 284kb | OK | 10 |
Punctaj total | 50 |