Pagini recente » Borderou de evaluare (job #1182544) | Borderou de evaluare (job #2032759) | Cod sursa (job #1379246) | Borderou de evaluare (job #1480336) | Borderou de evaluare (job #1745085)
Borderou de evaluare (job #1745085)
Raport evaluator
Compilare:
user.cpp: In function ‘void readf(FILE*)’:
user.cpp:29:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<strlen(e1); i++)
^
user.cpp:34:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0; i<strlen(e2); i++)
^
user.cpp:20:6: warning: unused variable ‘aux’ [-Wunused-variable]
int aux[maxs];
^
user.cpp: In function ‘int evaluate(const char*, int)’:
user.cpp:122:45: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
while ( e[ poz ] == '|' || e[ poz ] == '^' && poz < l )
^
user.cpp: In function ‘void readf(FILE*)’:
user.cpp:24: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:25: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:164: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 | 252kb | OK | 10 |
| 2 | 0ms | 260kb | OK | 10 |
| 3 | 0ms | 256kb | OK | 10 |
| 4 | 0ms | 256kb | OK | 10 |
| 5 | 4ms | 260kb | OK | 10 |
| 6 | 0ms | 256kb | OK | 10 |
| 7 | 0ms | 260kb | OK | 10 |
| 8 | 0ms | 252kb | OK | 10 |
| 9 | 0ms | 252kb | OK | 10 |
| 10 | 0ms | 252kb | OK | 10 |
| Punctaj total | 100 |