Pagini recente » Borderou de evaluare (job #1331481) | Borderou de evaluare (job #2465068) | Borderou de evaluare (job #650946) | Borderou de evaluare (job #714589) | Borderou de evaluare (job #702007)
Borderou de evaluare (job #702007)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:14:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld %ld %ld",&n,&p,&k);
^
user.cpp:14:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
user.cpp:14:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:11:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.in","r",stdin);
^
user.cpp:12:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("zmeu2.out","w",stdout);
^
user.cpp:14:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld %ld",&n,&p,&k);
^
user.cpp:29:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&x,&y);
^
user.cpp:35:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 296kb | OK | 10 |
2 | 0ms | 280kb | Incorect | 0 |
3 | 84ms | 696kb | OK | 10 |
4 | Depăşit | 692kb | Time limit exceeded. | 0 |
5 | 8ms | 600kb | Incorect | 0 |
6 | 0ms | 340kb | OK | 10 |
7 | 4ms | 388kb | OK | 10 |
8 | 0ms | 284kb | OK | 10 |
9 | Depăşit | 584kb | Time limit exceeded. | 0 |
10 | Depăşit | 668kb | Time limit exceeded. | 0 |
Punctaj total | 50 |