Pagini recente » Borderou de evaluare (job #1123305) | Borderou de evaluare (job #611963) | Borderou de evaluare (job #2884051) | Borderou de evaluare (job #2903345) | Borderou de evaluare (job #1451288)
Borderou de evaluare (job #1451288)
Raport evaluator
Compilare:
user.cpp: In function ‘void read_data()’:
user.cpp:17:16: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &N);
^
user.cpp:19:20: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &P[i]);
^
user.cpp:16:25: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(IN, "r", stdin);
^
user.cpp:17:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:19:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &P[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 2432kb | OK | 10 |
2 | 0ms | 2436kb | OK | 10 |
3 | 0ms | 2492kb | OK | 10 |
4 | 0ms | 2568kb | OK | 10 |
5 | 4ms | 2604kb | OK | 10 |
6 | 4ms | 2804kb | OK | 10 |
7 | 36ms | 3192kb | OK | 10 |
8 | 116ms | 3580kb | OK | 10 |
9 | 260ms | 3976kb | OK | 10 |
10 | 520ms | 4372kb | OK | 10 |
Punctaj total | 100 |