Pagini recente » Borderou de evaluare (job #2683448) | Borderou de evaluare (job #1465900) | Borderou de evaluare (job #1562313) | Cod sursa (job #1501034) | Borderou de evaluare (job #1204538)
Borderou de evaluare (job #1204538)
Raport evaluator
Compilare:
user.cpp: In function ‘void update(char*, int)’:
user.cpp:20:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i<strlen(s)) {lit=s[i]-'a';
^
user.cpp: In function ‘void caut(char*)’:
user.cpp:33:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i<strlen(s)) {lit=s[i]-'a';
^
user.cpp: In function ‘int ma(char*)’:
user.cpp:45:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i<strlen(s)) {lit=s[i]-'a';
^
user.cpp: In function ‘int main()’:
user.cpp:65:35: warning: format ‘%s’ expects argument of type ‘char*’, but argument 3 has type ‘char (*)[25]’ [-Wformat=]
fscanf(f,"%s",&s);
^
user.cpp:66:29: warning: NULL used in arithmetic [-Wpointer-arith]
if (s[0]==NULL) {ok=false;break;}
^
user.cpp:60:6: warning: unused variable ‘i’ [-Wunused-variable]
{int i,j=0,op,lit;
^
user.cpp:60:15: warning: unused variable ‘lit’ [-Wunused-variable]
{int i,j=0,op,lit;
^
user.cpp:63:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
while (ok==true) {fscanf(f,"%d",&op);
^
user.cpp:65:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(f,"%s",&s);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 252kb | OK | 5 | 5 |
| 2 | 0ms | 256kb | OK | 5 | 5 |
| 3 | 0ms | 268kb | OK | 5 | 5 |
| 4 | 0ms | 264kb | OK | 5 | 5 |
| 5 | 0ms | 264kb | OK | 5 | 5 |
| 6 | 0ms | 264kb | OK | 5 | 5 |
| 7 | 4ms | 280kb | OK | 5 | 5 |
| 8 | 4ms | 276kb | OK | 5 | 5 |
| 9 | 8ms | 416kb | OK | 5 | 5 |
| 10 | 16ms | 912kb | OK | 5 | 5 |
| 11 | 20ms | 316kb | OK | 5 | 5 |
| 12 | 32ms | 1632kb | OK | 5 | 5 |
| 13 | 40ms | 1380kb | OK | 5 | 5 |
| 14 | 44ms | 524kb | OK | 5 | 5 |
| 15 | 52ms | 504kb | OK | 5 | 10 |
| 16 | 96ms | 10768kb | OK | 5 |
| 17 | 64ms | 280kb | OK | 5 | 10 |
| 18 | 104ms | 8128kb | OK | 5 |
| 19 | 64ms | 284kb | OK | 5 | 10 |
| 20 | 116ms | 13620kb | OK | 5 |
| Punctaj total | 100 |