Pagini recente » Borderou de evaluare (job #2347640) | Borderou de evaluare (job #103996) | Borderou de evaluare (job #573171) | Borderou de evaluare (job #105883) | Borderou de evaluare (job #1712992)
Borderou de evaluare (job #1712992)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:47: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
for( i = 1; i <= n; ++i ) scanf("%d",&s[i]);
^
user.cpp:7:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxsecv.in","r",stdin);
^
user.cpp:8:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxsecv.out","w",stdout);
^
user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:13:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for( i = 1; i <= n; ++i ) scanf("%d",&s[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 272kb | OK | 10 |
| 2 | 0ms | 272kb | OK | 10 |
| 3 | 0ms | 272kb | OK | 10 |
| 4 | 0ms | 288kb | OK | 10 |
| 5 | 16ms | 368kb | OK | 10 |
| 6 | 40ms | 472kb | OK | 10 |
| 7 | 88ms | 764kb | OK | 10 |
| 8 | 148ms | 1056kb | OK | 10 |
| 9 | 168ms | 1156kb | OK | 10 |
| 10 | 164ms | 1248kb | OK | 10 |
| Punctaj total | 100 |