Pagini recente » Borderou de evaluare (job #2231523) | Borderou de evaluare (job #1956973) | Borderou de evaluare (job #2329734) | Borderou de evaluare (job #1508852) | Borderou de evaluare (job #2258868)
Borderou de evaluare (job #2258868)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:11:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&n);
^
user.cpp:14:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %c\n",&v[i],&c[i]);
^
user.cpp:18:18: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d",&x);
^
user.cpp:9:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vase.in","r",stdin);
^
user.cpp:10:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("vase.out","w",stdout);
^
user.cpp:11:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:14:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %c\n",&v[i],&c[i]);
^
user.cpp:18:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 36ms | 1804kb | OK | 5 |
2 | 0ms | 1320kb | OK | 5 |
3 | 36ms | 1800kb | OK | 5 |
4 | 36ms | 1800kb | OK | 5 |
5 | 0ms | 1324kb | OK | 5 |
6 | 0ms | 1320kb | OK | 5 |
7 | 0ms | 1320kb | OK | 5 |
8 | 0ms | 1320kb | OK | 5 |
9 | 12ms | 1512kb | OK | 5 |
10 | 16ms | 1564kb | OK | 5 |
11 | 0ms | 1332kb | OK | 5 |
12 | 28ms | 1716kb | OK | 5 |
13 | 28ms | 1704kb | OK | 5 |
14 | 0ms | 1328kb | OK | 5 |
15 | 0ms | 1328kb | OK | 5 |
16 | 0ms | 1324kb | OK | 5 |
17 | 36ms | 1800kb | OK | 5 |
18 | 36ms | 1800kb | OK | 5 |
19 | 28ms | 1724kb | OK | 5 |
20 | 0ms | 1324kb | OK | 5 |
Punctaj total | 100 |