Pagini recente » Cod sursa (job #2582908) | Cod sursa (job #3003637) | Cod sursa (job #1442116) | Cod sursa (job #1251223) | Borderou de evaluare (job #2006039)
Borderou de evaluare (job #2006039)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:23:55: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for (int i = 0; i < 12; i++) cin >> S[i], poz[S[i]] = i;
^
user.cpp:27:45: warning: array subscript has type ‘char’ [-Wchar-subscripts]
cin >> s[j], h += pr * (poz[s[j]]);
^
user.cpp:18: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:19: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);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 788kb | OK | 5 |
2 | 0ms | 1408kb | OK | 5 |
3 | 12ms | 1416kb | OK | 5 |
4 | 24ms | 1420kb | OK | 5 |
5 | 40ms | 1416kb | OK | 5 |
6 | 76ms | 1420kb | OK | 5 |
7 | 0ms | 764kb | OK | 5 |
8 | 0ms | 1400kb | OK | 5 |
9 | 4ms | 1412kb | OK | 5 |
10 | 4ms | 1416kb | OK | 5 |
11 | 8ms | 1420kb | OK | 5 |
12 | 16ms | 1416kb | OK | 5 |
13 | 32ms | 1416kb | OK | 5 |
14 | 68ms | 1412kb | OK | 5 |
15 | 80ms | 1412kb | OK | 5 |
16 | 116ms | 1420kb | OK | 5 |
17 | 156ms | 1412kb | OK | 5 |
18 | 192ms | 1420kb | OK | 5 |
19 | 244ms | 1420kb | OK | 5 |
20 | Depăşit | 1416kb | Time limit exceeded. | 0 |
Punctaj total | 95 |