Pagini recente » Borderou de evaluare (job #1443571) | Borderou de evaluare (job #2017332) | Borderou de evaluare (job #631990) | Borderou de evaluare (job #451697) | Borderou de evaluare (job #2005229)
Borderou de evaluare (job #2005229)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trandafiri.in", "r", stdin);
^
user.cpp:8:43: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("trandafiri.out", "w", stdout);
^
user.cpp:9:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:10:52: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int i = 1; i <= n ; ++i) scanf("%d", &a[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 32ms | 656kb | OK | 20 |
| 2 | 0ms | 268kb | OK | 20 |
| 3 | 0ms | 264kb | OK | 20 |
| 4 | 28ms | 652kb | OK | 20 |
| 5 | 28ms | 656kb | OK | 20 |
| Punctaj total | 100 |