Pagini recente » Borderou de evaluare (job #2517709) | Borderou de evaluare (job #2113528) | Borderou de evaluare (job #2413287) | Borderou de evaluare (job #419775) | Borderou de evaluare (job #1212746)
Borderou de evaluare (job #1212746)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:46:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[100005]’ [-Wformat=]
scanf("%d\n%s", &p, &dir);
^
user.cpp:49:23: warning: NULL used in arithmetic [-Wpointer-arith]
for(i = 0; dir[i] != NULL; ++ i) {
^
user.cpp:42:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spion.in", "r", stdin);
^
user.cpp:43:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("spion.out", "w", stdout);
^
user.cpp:46:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n%s", &p, &dir);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 256kb | OK | 5 |
2 | 0ms | 276kb | OK | 5 |
3 | 0ms | 340kb | OK | 5 |
4 | 0ms | 356kb | OK | 5 |
5 | 0ms | 252kb | Incorect | 0 |
6 | 0ms | 252kb | OK | 5 |
7 | 0ms | 264kb | Incorect | 0 |
8 | 0ms | 260kb | Incorect | 0 |
9 | 0ms | 264kb | Incorect | 0 |
10 | 0ms | 264kb | OK | 5 |
11 | 0ms | 280kb | OK | 5 |
12 | 0ms | 288kb | Incorect | 0 |
13 | 0ms | 296kb | OK | 5 |
14 | 4ms | 308kb | Incorect | 0 |
15 | 4ms | 316kb | Incorect | 0 |
16 | 4ms | 328kb | OK | 5 |
17 | 4ms | 332kb | Incorect | 0 |
18 | 4ms | 340kb | OK | 5 |
19 | 8ms | 352kb | Incorect | 0 |
20 | 8ms | 356kb | Incorect | 0 |
Punctaj total | 50 |