Pagini recente » Borderou de evaluare (job #579769) | Borderou de evaluare (job #1725620) | Borderou de evaluare (job #426743) | Borderou de evaluare (job #110372) | Borderou de evaluare (job #1509509)
Borderou de evaluare (job #1509509)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:15:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &v[i]);
^
user.cpp:11: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:12: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:13:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:15: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 | 260kb | OK | 10 |
2 | 0ms | 276kb | OK | 10 |
3 | 0ms | 280kb | OK | 10 |
4 | 24ms | 972kb | OK | 10 |
5 | 28ms | 1088kb | OK | 10 |
6 | 28ms | 1240kb | OK | 10 |
7 | 48ms | 1708kb | OK | 10 |
8 | 52ms | 1748kb | OK | 10 |
9 | 52ms | 1800kb | OK | 10 |
10 | 52ms | 1824kb | OK | 10 |
Punctaj total | 100 |