Pagini recente » Borderou de evaluare (job #2720091) | Borderou de evaluare (job #3238229) | Borderou de evaluare (job #681223) | Borderou de evaluare (job #1246322) | Borderou de evaluare (job #2209676)
Borderou de evaluare (job #2209676)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:37:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
scanf("%d%d%d",&n,&a,&b);
^
user.cpp:37:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=]
user.cpp:39:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d",&v[i]);
^
user.cpp:46:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",rez);
^
user.cpp:34:27: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(fin,"r",stdin);
^
user.cpp:35:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(fout,"w",stdout);
^
user.cpp:37:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&a,&b);
^
user.cpp:39:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 800kb | OK | 10 |
| 2 | 0ms | 756kb | OK | 10 |
| 3 | 0ms | 756kb | OK | 10 |
| 4 | 0ms | 756kb | Incorect | 0 |
| 5 | 0ms | 752kb | Incorect | 0 |
| 6 | 4ms | 752kb | OK | 10 |
| 7 | 8ms | 876kb | Incorect | 0 |
| 8 | 12ms | 812kb | OK | 10 |
| 9 | 28ms | 860kb | Incorect | 0 |
| 10 | Depăşit | 864kb | Time limit exceeded. | 0 |
| Punctaj total | 50 |