Pagini recente » Borderou de evaluare (job #115794) | Borderou de evaluare (job #2884177) | Borderou de evaluare (job #1259436) | Borderou de evaluare (job #1259368) | Borderou de evaluare (job #1257140)
Borderou de evaluare (job #1257140)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &v[i]);
^
user.cpp:17:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("galagie.in", "r", stdin);
^
user.cpp:18:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("galagie.out", "w", stdout);
^
user.cpp:19:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &n);
^
user.cpp:21:27: 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 | 272kb | OK | 10 |
| 2 | 0ms | 288kb | OK | 10 |
| 3 | 0ms | 288kb | OK | 10 |
| 4 | 20ms | 980kb | OK | 10 |
| 5 | 24ms | 1092kb | OK | 10 |
| 6 | 32ms | 1240kb | OK | 10 |
| 7 | 48ms | 1716kb | OK | 10 |
| 8 | 48ms | 1756kb | OK | 10 |
| 9 | 48ms | 1808kb | OK | 10 |
| 10 | 56ms | 1828kb | OK | 10 |
| Punctaj total | 100 |