Pagini recente » Borderou de evaluare (job #2520921) | Borderou de evaluare (job #447938) | Borderou de evaluare (job #1596904) | Borderou de evaluare (job #653534) | Borderou de evaluare (job #1213908)
Borderou de evaluare (job #1213908)
Raport evaluator
Compilare:
user.cpp: In function ‘int ixor()’:
user.cpp:52:30: warning: array subscript has type ‘char’ [-Wchar-subscripts]
r = v[ ch[i] ];
^
user.cpp: In function ‘int main()’:
user.cpp:133:14: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[ch2]=(v[ch2]+1)%2;
^
user.cpp:133:22: warning: array subscript has type ‘char’ [-Wchar-subscripts]
v[ch2]=(v[ch2]+1)%2;
^
user.cpp:68:9: warning: unused variable ‘x’ [-Wunused-variable]
int x = strlen(chi);
^
user.cpp:67:25: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(chi, 1003, in);
^
user.cpp:128:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d\n", &n);
^
user.cpp:132:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%c", &ch2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 460kb | OK | 10 |
2 | 0ms | 464kb | OK | 10 |
3 | 0ms | 464kb | OK | 10 |
4 | 0ms | 464kb | OK | 10 |
5 | 0ms | 464kb | OK | 10 |
6 | 0ms | 464kb | OK | 10 |
7 | 0ms | 464kb | OK | 10 |
8 | 0ms | 460kb | OK | 10 |
9 | 0ms | 464kb | OK | 10 |
10 | 0ms | 464kb | OK | 10 |
Punctaj total | 100 |