Pagini recente » Borderou de evaluare (job #994936) | Borderou de evaluare (job #380692) | Borderou de evaluare (job #1691897) | Borderou de evaluare (job #1526982) | Borderou de evaluare (job #2020661)
Borderou de evaluare (job #2020661)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:47:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
isMagic[magics[1 << i]] = 1 << i;
^
user.cpp:56:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
++freq[*c];
^
user.cpp:57:40: warning: array subscript has type ‘char’ [-Wchar-subscripts]
printf("%d\n", query(freq[magics[1]], freq[magics[2]], freq[magics[4]]));
^
user.cpp:57:57: warning: array subscript has type ‘char’ [-Wchar-subscripts]
printf("%d\n", query(freq[magics[1]], freq[magics[2]], freq[magics[4]]));
^
user.cpp:57:74: warning: array subscript has type ‘char’ [-Wchar-subscripts]
printf("%d\n", query(freq[magics[1]], freq[magics[2]], freq[magics[4]]));
^
user.cpp:46:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf(" %c", &magics[1 << i]);
^
user.cpp:50:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:53:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &P);
^
user.cpp:54:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s", buf);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 288kb | OK | 10 |
2 | 0ms | 284kb | OK | 10 |
3 | 0ms | 280kb | OK | 10 |
4 | 0ms | 284kb | OK | 10 |
5 | 0ms | 280kb | OK | 10 |
6 | 0ms | 280kb | OK | 10 |
7 | 0ms | 288kb | OK | 10 |
8 | 0ms | 284kb | OK | 10 |
9 | 0ms | 280kb | OK | 10 |
10 | 0ms | 284kb | OK | 10 |
Punctaj total | 100 |