Pagini recente » Diferente pentru problema/interact intre reviziile 41 si 40 | Borderou de evaluare (job #1468725) | Cod sursa (job #953442) | Borderou de evaluare (job #2976681) | Borderou de evaluare (job #1533120)
Borderou de evaluare (job #1533120)
Raport evaluator
Compilare:
user.cpp: In function ‘void readf(FILE*)’:
user.cpp:33:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<strlen(e1); i++)
^
user.cpp:38:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<strlen(e2); i++)
^
user.cpp:24:6: warning: unused variable ‘aux’ [-Wunused-variable]
int aux[maxs];
^
user.cpp: In function ‘int evaluate(const char*, int)’:
user.cpp:129:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
while ( e[ poz ] == '|' || e[ poz ] == '^' && poz < l )
^
user.cpp: In function ‘void readf(FILE*)’:
user.cpp:28:36: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(e1, maxs, fin), rem_endl(e1);
^
user.cpp:29:36: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(e2, maxs, fin), rem_endl(e2);
^
user.cpp: In function ‘int main()’:
user.cpp:171:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(fscanf(fin, "%d\n", &t); t; --t)
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 260kb | OK | 10 |
| 2 | 0ms | 256kb | OK | 10 |
| 3 | 0ms | 260kb | OK | 10 |
| 4 | 0ms | 260kb | OK | 10 |
| 5 | 4ms | 260kb | OK | 10 |
| 6 | 0ms | 260kb | OK | 10 |
| 7 | 0ms | 252kb | OK | 10 |
| 8 | 0ms | 256kb | OK | 10 |
| 9 | 0ms | 260kb | OK | 10 |
| 10 | 0ms | 256kb | OK | 10 |
| Punctaj total | 100 |