Pagini recente » Borderou de evaluare (job #2327782) | Borderou de evaluare (job #3244244) | Borderou de evaluare (job #2864961) | Borderou de evaluare (job #655098) | Borderou de evaluare (job #2372758)
Borderou de evaluare (job #2372758)
Raport evaluator
Compilare:
main.cpp: In function 'int scad(int*, int, int*)':
main.cpp:23:5: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
while(tr && c[0]>0)
^~~~~
main.cpp:25:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while'
tr/=10;
^~
main.cpp:26:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int inmult(int*, int, int*)':
main.cpp:40:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int adun(int*, int*, int*)':
main.cpp:54:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'int main()':
main.cpp:77:12: warning: suggest parentheses around comparison in operand of '==' [-Wparentheses]
if(a[0]==a[1]==1)
~~~~^~~~~~
main.cpp:61: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:62: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:65:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &ch);
^
main.cpp:68: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 | OK | 5 |
4 | 2ms | 131kb | OK | 5 |
5 | 2ms | 131kb | OK | 5 |
6 | 2ms | 131kb | OK | 5 |
7 | 2ms | 131kb | OK | 5 |
8 | 2ms | 131kb | Incorect | 0 |
9 | 2ms | 131kb | OK | 5 |
10 | 2ms | 131kb | OK | 5 |
11 | 6ms | 131kb | OK | 5 |
12 | 6ms | 131kb | OK | 5 |
13 | 6ms | 131kb | OK | 5 |
14 | 6ms | 131kb | OK | 5 |
15 | 12ms | 131kb | OK | 5 |
16 | 12ms | 131kb | OK | 5 |
17 | 12ms | 131kb | OK | 5 |
18 | 12ms | 131kb | OK | 5 |
19 | 43ms | 131kb | OK | 5 |
20 | 43ms | 131kb | OK | 5 |
Punctaj total | 90 |