Pagini recente » Borderou de evaluare (job #1476848) | Borderou de evaluare (job #1949584) | Borderou de evaluare (job #1402423) | Borderou de evaluare (job #3217758) | Borderou de evaluare (job #1308956)
Borderou de evaluare (job #1308956)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:43:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
priority[ch] = i - 1;
^
user.cpp:53:45: warning: array subscript has type ‘char’ [-Wchar-subscripts]
wordsCodes[i].code += exp * priority[s[j]];
^
user.cpp:32:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(infile, "r", stdin);
^
user.cpp:33:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(outfile, "w", stdout);
^
user.cpp:35:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &p, &n);
^
user.cpp:38:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &ch);
^
user.cpp:42:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &ch);
^
user.cpp:47:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &ch);
^
user.cpp:51:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 276kb | OK | 5 |
2 | 0ms | 280kb | OK | 5 |
3 | 20ms | 476kb | OK | 5 |
4 | 40ms | 672kb | OK | 5 |
5 | 84ms | 1064kb | OK | 5 |
6 | 172ms | 1840kb | OK | 5 |
7 | 0ms | 272kb | OK | 5 |
8 | 0ms | 272kb | OK | 5 |
9 | 0ms | 280kb | OK | 5 |
10 | 4ms | 292kb | OK | 5 |
11 | 4ms | 312kb | OK | 5 |
12 | 12ms | 348kb | OK | 5 |
13 | 28ms | 428kb | OK | 5 |
14 | 56ms | 576kb | OK | 5 |
15 | 72ms | 664kb | OK | 5 |
16 | 104ms | 856kb | OK | 5 |
17 | 148ms | 1052kb | OK | 5 |
18 | 184ms | 1240kb | OK | 5 |
19 | 236ms | 1516kb | OK | 5 |
20 | 296ms | 1824kb | OK | 5 |
Punctaj total | 100 |