Pagini recente » Borderou de evaluare (job #2491988) | Borderou de evaluare (job #2386395) | Borderou de evaluare (job #153634) | Borderou de evaluare (job #2143130) | Borderou de evaluare (job #1216912)
Borderou de evaluare (job #1216912)
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 ‘long long int*’ [-Wformat=]
scanf("%d",&t);
^
user.cpp:14:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&v,&n);
^
user.cpp:14:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:18:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",(last+first)*r>>1);
^
user.cpp:9:16: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(IN);
^
user.cpp:10:17: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(OUT);
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:14:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&v,&n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 256kb | Incorect | 0 |
| 2 | 0ms | 252kb | Incorect | 0 |
| 3 | 0ms | 256kb | Incorect | 0 |
| 4 | 80ms | 260kb | Incorect | 0 |
| 5 | 76ms | 252kb | Incorect | 0 |
| 6 | 84ms | 252kb | Incorect | 0 |
| 7 | 88ms | 256kb | Incorect | 0 |
| 8 | 88ms | 256kb | Incorect | 0 |
| 9 | 88ms | 256kb | Incorect | 0 |
| 10 | 88ms | 260kb | Incorect | 0 |
| Punctaj total | 0 |