Pagini recente » Borderou de evaluare (job #1733625) | Borderou de evaluare (job #2604398) | Borderou de evaluare (job #2909709) | Borderou de evaluare (job #225479) | Borderou de evaluare (job #2104379)
Borderou de evaluare (job #2104379)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:50:11: warning: array subscript has type ‘char’ [-Wchar-subscripts]
val[s[i]] = i;
^
user.cpp:56:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
nr += val[x[j]] * p12;
^
user.cpp:42:35: 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:43:37: 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:46:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &p, &n);//cin >> p >> n;
^
user.cpp:47:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s);
^
user.cpp:52:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 812kb | OK | 5 |
2 | 0ms | 1428kb | OK | 5 |
3 | 8ms | 1444kb | OK | 5 |
4 | 20ms | 1444kb | OK | 5 |
5 | 36ms | 1448kb | OK | 5 |
6 | 72ms | 1448kb | OK | 5 |
7 | 0ms | 800kb | OK | 5 |
8 | 4ms | 1440kb | OK | 5 |
9 | 4ms | 1448kb | OK | 5 |
10 | 8ms | 1456kb | OK | 5 |
11 | 16ms | 1448kb | OK | 5 |
12 | 40ms | 1452kb | OK | 5 |
13 | 68ms | 1452kb | OK | 5 |
14 | 136ms | 1452kb | OK | 5 |
15 | 176ms | 1452kb | OK | 5 |
16 | 248ms | 1452kb | OK | 5 |
17 | Depăşit | 1440kb | Time limit exceeded. | 0 |
18 | Depăşit | 1440kb | Time limit exceeded. | 0 |
19 | Depăşit | 1440kb | Time limit exceeded. | 0 |
20 | Depăşit | 1440kb | Time limit exceeded. | 0 |
Punctaj total | 80 |