Pagini recente » Borderou de evaluare (job #1030946) | Borderou de evaluare (job #2571368) | Borderou de evaluare (job #2876744) | Borderou de evaluare (job #2743477) | Borderou de evaluare (job #2414142)
Borderou de evaluare (job #2414142)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:92:10: warning: unused variable 'n' [-Wunused-variable]
int t,i1,n,u=0,s1=0,s2=0,i,j;
^
main.cpp:92:12: warning: unused variable 'u' [-Wunused-variable]
int t,i1,n,u=0,s1=0,s2=0,i,j;
^
main.cpp:92:16: warning: unused variable 's1' [-Wunused-variable]
int t,i1,n,u=0,s1=0,s2=0,i,j;
^~
main.cpp:92:21: warning: unused variable 's2' [-Wunused-variable]
int t,i1,n,u=0,s1=0,s2=0,i,j;
^~
main.cpp:92:28: warning: unused variable 'j' [-Wunused-variable]
int t,i1,n,u=0,s1=0,s2=0,i,j;
^
main.cpp: In function 'int evaluare(int)':
main.cpp:9:22: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(ch+1,258,stdin);
^
main.cpp:88:22: warning: control reaches end of non-void function [-Wreturn-type]
rez[tip][i]=eval[1];}}
^
main.cpp: In function 'int main()':
main.cpp:90:30: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("logic.in","r",stdin);
^
main.cpp:91:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("logic.out","w",stdout);
^
main.cpp:93:17: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 10 |
2 | 3ms | 131kb | Incorect | 0 |
3 | 2ms | 131kb | OK | 10 |
4 | 3ms | 131kb | Incorect | 0 |
5 | 9ms | 131kb | Incorect | 0 |
6 | 4ms | 131kb | Incorect | 0 |
7 | 3ms | 131kb | OK | 10 |
8 | 2ms | 131kb | OK | 10 |
9 | 2ms | 131kb | OK | 10 |
10 | 3ms | 131kb | OK | 10 |
Punctaj total | 60 |