Pagini recente » Borderou de evaluare (job #1296463) | Borderou de evaluare (job #2782444) | Borderou de evaluare (job #2007352) | Borderou de evaluare (job #132267) | Borderou de evaluare (job #1212844)
Borderou de evaluare (job #1212844)
Raport evaluator
Compilare:
user.cpp: In function ‘int code()’:
user.cpp:21:37: warning: array subscript has type ‘char’ [-Wchar-subscripts]
ans += p12 * alphabet[aux[i]];
^
user.cpp: In function ‘int main()’:
user.cpp:51:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
alphabet[ch] = i;
^
user.cpp:56:25: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[13]’ [-Wformat=]
scanf("%s", &aux);
^
user.cpp:43:38: 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:44:40: 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:48:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &p, &n);
^
user.cpp:50:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &ch);
^
user.cpp:54:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:56:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", &aux);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 5 |
2 | 0ms | 264kb | OK | 5 |
3 | 12ms | 460kb | OK | 5 |
4 | 24ms | 648kb | OK | 5 |
5 | 52ms | 1048kb | OK | 5 |
6 | 112ms | 1820kb | OK | 5 |
7 | 0ms | 252kb | OK | 5 |
8 | 0ms | 260kb | OK | 5 |
9 | 0ms | 260kb | OK | 5 |
10 | 0ms | 276kb | OK | 5 |
11 | 4ms | 296kb | OK | 5 |
12 | 8ms | 332kb | OK | 5 |
13 | 16ms | 412kb | OK | 5 |
14 | 36ms | 564kb | OK | 5 |
15 | 52ms | 644kb | OK | 5 |
16 | 72ms | 844kb | OK | 5 |
17 | 96ms | 1036kb | OK | 5 |
18 | 128ms | 1228kb | OK | 5 |
19 | 160ms | 1504kb | OK | 5 |
20 | 196ms | 1816kb | OK | 5 |
Punctaj total | 100 |