Pagini recente » Borderou de evaluare (job #2455381) | Borderou de evaluare (job #22464) | Borderou de evaluare (job #467447) | Borderou de evaluare (job #49308) | Borderou de evaluare (job #2372800)
Borderou de evaluare (job #2372800)
Raport evaluator
Compilare:
main.cpp: In function 'long long int scad(long long int*, long long int, long long 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 'long long int inmult(long long int*, long long int, long long int*)':
main.cpp:40:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'long long int adun(long long int*, long long int*, long long int*)':
main.cpp:54:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
main.cpp: In function 'void afis(long long int*)':
main.cpp:58:26: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
printf("%d", a[i]);
^
main.cpp: In function 'int main()':
main.cpp:74:32: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
for(i=1; scanf("%1d", &a[i])==1; i++);
^
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 | 8ms | 131kb | OK | 5 |
12 | 8ms | 131kb | OK | 5 |
13 | 8ms | 131kb | OK | 5 |
14 | 7ms | 131kb | OK | 5 |
15 | 18ms | 131kb | OK | 5 |
16 | 18ms | 131kb | OK | 5 |
17 | 18ms | 131kb | OK | 5 |
18 | 18ms | 131kb | OK | 5 |
19 | 66ms | 262kb | OK | 5 |
20 | 66ms | 262kb | OK | 5 |
Punctaj total | 90 |