Pagini recente » Borderou de evaluare (job #37865) | Borderou de evaluare (job #37531) | Borderou de evaluare (job #2188148) | Borderou de evaluare (job #387271) | Borderou de evaluare (job #702292)
Borderou de evaluare (job #702292)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:26:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d",&x,&y);
^
user.cpp:26:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:33:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d%d",&x,&y);
^
user.cpp:33:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:61:16: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
printf("%d",ok);
^
user.cpp:14:27: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(infile,"r",stdin);
^
user.cpp:15:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(outfile,"w",stdout);
^
user.cpp:17: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:26: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:33: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 | 276kb | Incorect | 0 |
| 3 | 84ms | 812kb | OK | 10 |
| 4 | Depăşit | 808kb | Time limit exceeded. | 0 |
| 5 | 8ms | 680kb | Incorect | 0 |
| 6 | 0ms | 352kb | OK | 10 |
| 7 | 4ms | 412kb | OK | 10 |
| 8 | 0ms | 284kb | OK | 10 |
| 9 | Depăşit | 660kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 784kb | Time limit exceeded. | 0 |
| Punctaj total | 50 |