Pagini recente » Borderou de evaluare (job #1686939) | Borderou de evaluare (job #2618505) | Borderou de evaluare (job #2381514) | Cod sursa (job #21801) | Borderou de evaluare (job #1732521)
Borderou de evaluare (job #1732521)
Raport evaluator
Compilare:
user.cpp: In function ‘void df(long int)’:
user.cpp:19:13: warning: variable ‘dr’ set but not used [-Wunused-but-set-variable]
long st,dr;
^
user.cpp: In function ‘int main()’:
user.cpp:43:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&t);
^
user.cpp:44:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld%ld%ld",&n,&st,&dr);
^
user.cpp:44:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:44:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:52:30: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&v[j]);
^
user.cpp:42:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("summax.in","r",stdin);
^
user.cpp:43:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&t);
^
user.cpp:44:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld%ld",&n,&st,&dr);
^
user.cpp:52:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&v[j]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 516kb | OK | 5 |
| 2 | 104ms | 3844kb | OK | 5 |
| 3 | 240ms | 6368kb | OK | 5 |
| 4 | 336ms | 9500kb | OK | 5 |
| 5 | 0ms | 520kb | OK | 5 |
| 6 | 8ms | 544kb | OK | 5 |
| 7 | 16ms | 612kb | OK | 5 |
| 8 | 12ms | 704kb | Incorect | 0 |
| 9 | 164ms | 1968kb | Incorect | 0 |
| 10 | 244ms | 2828kb | Incorect | 0 |
| 11 | 340ms | 3848kb | Incorect | 0 |
| 12 | 124ms | 4424kb | Incorect | 0 |
| 13 | 128ms | 4484kb | Incorect | 0 |
| 14 | 400ms | 4552kb | Incorect | 0 |
| 15 | 144ms | 5036kb | Incorect | 0 |
| 16 | 180ms | 5692kb | Incorect | 0 |
| 17 | 564ms | 6372kb | Incorect | 0 |
| 18 | 292ms | 7864kb | Incorect | 0 |
| 19 | 816ms | 8668kb | Incorect | 0 |
| 20 | 852ms | 9504kb | Incorect | 0 |
| Punctaj total | 35 |