Pagini recente » Borderou de evaluare (job #2704796) | Borderou de evaluare (job #1131695) | Borderou de evaluare (job #875373) | Borderou de evaluare (job #2824436) | Borderou de evaluare (job #1257147)
Borderou de evaluare (job #1257147)
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 | 280kb | OK | 10 |
2 | 0ms | 296kb | OK | 10 |
3 | 0ms | 296kb | OK | 10 |
4 | 20ms | 992kb | OK | 10 |
5 | 24ms | 1096kb | OK | 10 |
6 | 28ms | 1256kb | OK | 10 |
7 | 44ms | 1720kb | OK | 10 |
8 | 48ms | 1764kb | OK | 10 |
9 | 52ms | 1812kb | OK | 10 |
10 | 52ms | 1836kb | OK | 10 |
Punctaj total | 100 |