Pagini recente » Borderou de evaluare (job #330002) | Borderou de evaluare (job #695413) | Borderou de evaluare (job #117322) | Borderou de evaluare (job #1775685) | Borderou de evaluare (job #1839178)
Borderou de evaluare (job #1839178)
Raport evaluator
Compilare:
user.cpp: In function ‘int NOT()’:
user.cpp:39:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
else f = t[ e[p] ];
^
user.cpp: In function ‘int main()’:
user.cpp:87:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
t[c] = 1-t[c];
^
user.cpp:87:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
t[c] = 1-t[c];
^
user.cpp: In function ‘void Read()’:
user.cpp:17:24: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,NMax,stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:78:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bool.in","r",stdin);
^
user.cpp:79:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bool.out","w",stdout);
^
user.cpp:82:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&T);
^
user.cpp:86:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 272kb | OK | 10 |
2 | 0ms | 264kb | Incorect | 0 |
3 | 0ms | 268kb | Incorect | 0 |
4 | 0ms | 268kb | Incorect | 0 |
5 | 0ms | 268kb | OK | 10 |
6 | 0ms | 268kb | OK | 10 |
7 | 0ms | 264kb | OK | 10 |
8 | 0ms | 272kb | OK | 10 |
9 | 0ms | 268kb | OK | 10 |
10 | 0ms | 268kb | OK | 10 |
Punctaj total | 70 |