Pagini recente » Borderou de evaluare (job #2052073) | Borderou de evaluare (job #1637125) | Borderou de evaluare (job #1233158) | Borderou de evaluare (job #1300285) | Borderou de evaluare (job #1934900)
Borderou de evaluare (job #1934900)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
val[lex[i]] = i;
^
user.cpp:32:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nr += val[ch[j]] * p12;
^
user.cpp:12:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("zimeria.in", "r", stdin);
^
user.cpp:13:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("zimeria.out", "w", stdout);
^
user.cpp:16:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &var, &n);
^
user.cpp:17:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("\n");
^
user.cpp:21:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%c", &lex[i]);
^
user.cpp:25:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("\n");
^
user.cpp:28:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (ch + 1);
^
/tmp/ccAo3NRP.o: In function `main':
user.cpp:(.text.startup+0xc2): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 600kb | OK | 5 |
2 | 0ms | 1228kb | OK | 5 |
3 | 8ms | 1232kb | OK | 5 |
4 | 16ms | 1232kb | OK | 5 |
5 | 32ms | 1236kb | OK | 5 |
6 | 64ms | 1236kb | OK | 5 |
7 | 0ms | 580kb | OK | 5 |
8 | 0ms | 1216kb | OK | 5 |
9 | 4ms | 1228kb | OK | 5 |
10 | 4ms | 1228kb | OK | 5 |
11 | 8ms | 1228kb | OK | 5 |
12 | 20ms | 1228kb | OK | 5 |
13 | 40ms | 1224kb | OK | 5 |
14 | 68ms | 1228kb | OK | 5 |
15 | 84ms | 1232kb | OK | 5 |
16 | 136ms | 1228kb | OK | 5 |
17 | 160ms | 1228kb | OK | 5 |
18 | 224ms | 1228kb | OK | 5 |
19 | 260ms | 1228kb | OK | 5 |
20 | Depăşit | 1228kb | Time limit exceeded. | 0 |
Punctaj total | 95 |