Pagini recente » Borderou de evaluare (job #116508) | Borderou de evaluare (job #225034) | Borderou de evaluare (job #1658961) | Borderou de evaluare (job #344389) | Borderou de evaluare (job #1954433)
Borderou de evaluare (job #1954433)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:59:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("randomizare.in","r",stdin);
^
user.cpp:60:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("randomizare.out","w",stdout);
^
user.cpp:62:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n); need[0] = -1;
^
user.cpp:63:62: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i = 1; i <= n; i++) scanf("%d", &v[i]), need[i] = -1;
^
user.cpp:64:48: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (i = 1; i <= n; i++) scanf("%d", &p[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 480kb | OK | 10 |
2 | 0ms | 488kb | OK | 10 |
3 | 0ms | 564kb | OK | 10 |
4 | 48ms | 1572kb | OK | 10 |
5 | 52ms | 1628kb | OK | 10 |
6 | 80ms | 2252kb | OK | 10 |
7 | 132ms | 3076kb | OK | 10 |
8 | 164ms | 3708kb | OK | 10 |
9 | 196ms | 4292kb | OK | 10 |
10 | 220ms | 4708kb | OK | 10 |
Punctaj total | 100 |