Pagini recente » Borderou de evaluare (job #2840190) | ADN | Borderou de evaluare (job #787311) | Borderou de evaluare (job #2117579) | Borderou de evaluare (job #2372817)
Borderou de evaluare (job #2372817)
Raport evaluator
Compilare:
main.cpp: In function 'int scad(int*, int, int*)':
main.cpp:22:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(tr && c[0]>0)
^~~~~
main.cpp:24:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
tr/=10;
^~
main.cpp:25:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int inmult(int*, int, int*)':
main.cpp:39:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int adun(int*, int*, int*)':
main.cpp:53:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:76:12: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
if(a[0]==a[1]==1)
~~~~^~~~~~
main.cpp:60:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
{ freopen("sosete.in", "r",stdin);
^
main.cpp:61:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("sosete.out", "w",stdout);
^
main.cpp:64:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &ch);
^
main.cpp:67:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &ch);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 131kb | OK | 5 |
| 2 | 2ms | 131kb | Incorect | 0 |
| 3 | 2ms | 131kb | Incorect | 0 |
| 4 | 2ms | 131kb | OK | 5 |
| 5 | 2ms | 131kb | Incorect | 0 |
| 6 | 2ms | 131kb | Incorect | 0 |
| 7 | 2ms | 131kb | Incorect | 0 |
| 8 | 2ms | 131kb | Incorect | 0 |
| 9 | 2ms | 131kb | Incorect | 0 |
| 10 | 2ms | 131kb | Incorect | 0 |
| 11 | 2ms | 131kb | Incorect | 0 |
| 12 | 2ms | 131kb | Incorect | 0 |
| 13 | 6ms | 131kb | Incorect | 0 |
| 14 | 6ms | 131kb | Incorect | 0 |
| 15 | 12ms | 131kb | Incorect | 0 |
| 16 | 2ms | 131kb | Incorect | 0 |
| 17 | 12ms | 131kb | Incorect | 0 |
| 18 | 12ms | 131kb | Incorect | 0 |
| 19 | 43ms | 131kb | Incorect | 0 |
| 20 | 2ms | 131kb | Incorect | 0 |
| Punctaj total | 10 |