Pagini recente » Borderou de evaluare (job #2316066) | Borderou de evaluare (job #1499379) | Borderou de evaluare (job #2677664) | Borderou de evaluare (job #1221533) | Borderou de evaluare (job #1412649)
Borderou de evaluare (job #1412649)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:15:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d",&p[i]);
^
user.cpp:11:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("podm.in","r",stdin);
^
user.cpp:12:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("podm.out","w",stdout);
^
user.cpp:13:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:15:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&p[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 276kb | OK | 10 |
| 2 | 0ms | 280kb | OK | 10 |
| 3 | 0ms | 340kb | OK | 10 |
| 4 | 0ms | 412kb | OK | 10 |
| 5 | 0ms | 456kb | OK | 10 |
| 6 | 4ms | 656kb | OK | 10 |
| 7 | 28ms | 1052kb | OK | 10 |
| 8 | 96ms | 1448kb | OK | 10 |
| 9 | 244ms | 1844kb | OK | 10 |
| 10 | 516ms | 2236kb | OK | 10 |
| Punctaj total | 100 |