Pagini recente » Cod sursa (job #1271960) | Cod sursa (job #2981999) | Cod sursa (job #3319687) | Cod sursa (job #2088838) | Borderou de evaluare (job #1840882)
Borderou de evaluare (job #1840882)
Raport evaluator
Compilare:
user.cpp: In function ‘int NOT()’:
user.cpp:27:31: warning: array subscript has type ‘char’ [-Wchar-subscripts]
} else f = tab[ s[l][p++] ];
^
user.cpp: In function ‘int main()’:
user.cpp:93:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(i = 0; i < lg[0]; ++i) ap0[ s[0][i] ] = 1;
^
user.cpp:94:49: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(i = 0; i < lg[1]; ++i) ap1[ s[1][i] ] = 1;
^
user.cpp:101:46: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if( ap0[i] && ap1[i] ) f[ ++f[0] ] = i;
^
user.cpp:105:68: warning: array subscript has type ‘char’ [-Wchar-subscripts]
for(x = i, j = 1; j <= f[0]; ++j, x>>=1) tab[ f[j] ] = x&1;
^
user.cpp:75:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("logic.in","r",stdin);
^
user.cpp:76:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("logic.out","w",stdout);
^
user.cpp:80:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&T);
^
user.cpp:83:31: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(temp,NMax,stdin);
^
user.cpp:87:31: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(temp,NMax,stdin);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 256kb | OK | 10 |
| 2 | 0ms | 260kb | OK | 10 |
| 3 | 0ms | 256kb | OK | 10 |
| 4 | 0ms | 256kb | OK | 10 |
| 5 | 24ms | 260kb | OK | 10 |
| 6 | 0ms | 260kb | OK | 10 |
| 7 | 0ms | 256kb | OK | 10 |
| 8 | 0ms | 256kb | OK | 10 |
| 9 | 0ms | 256kb | OK | 10 |
| 10 | 0ms | 256kb | OK | 10 |
| Punctaj total | 100 |