Pagini recente » Borderou de evaluare (job #1523661) | Borderou de evaluare (job #519719) | Borderou de evaluare (job #2063054) | Borderou de evaluare (job #2998458) | Borderou de evaluare (job #1628828)
Borderou de evaluare (job #1628828)
Raport evaluator
Compilare:
user.cpp: In function ‘int ssm()’:
user.cpp:12:24: warning: format ‘%c’ expects argument of type ‘char*’, but argument 2 has type ‘int*’ [-Wformat=]
while(scanf("%c",&k)!=EOF)
^
user.cpp:8:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, s, t, d, k, ma, id, idd;
^
user.cpp:8:18: warning: variable ‘t’ set but not used [-Wunused-but-set-variable]
int i, j, s, t, d, k, ma, id, idd;
^
user.cpp:8:21: warning: unused variable ‘d’ [-Wunused-variable]
int i, j, s, t, d, k, ma, id, idd;
^
user.cpp: In function ‘int main()’:
user.cpp:40:13: warning: unused variable ‘j’ [-Wunused-variable]
int n,i,j,cnt=0,aux,sum=0;
^
user.cpp:40:21: warning: unused variable ‘aux’ [-Wunused-variable]
int n,i,j,cnt=0,aux,sum=0;
^
user.cpp:38:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expresie2.in","r",stdin);
^
user.cpp:39:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expresie2.out","w",stdout);
^
user.cpp:41:26: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,100000,stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 232kb | Primul numar corect | 1 |
2 | 0ms | 244kb | Primul numar corect | 1 |
3 | 0ms | 232kb | Primul numar corect | 1 |
4 | 0ms | 240kb | Primul numar corect | 1 |
5 | 0ms | 252kb | Primul numar corect | 1 |
6 | 0ms | 244kb | Primul numar corect | 1 |
7 | 0ms | 332kb | Primul numar corect | 1 |
8 | 0ms | 244kb | Primul numar corect | 1 |
9 | 0ms | 248kb | Primul numar corect | 1 |
10 | 0ms | 236kb | Primul numar corect | 1 |
11 | 0ms | 296kb | Primul numar corect | 1 |
12 | 0ms | 324kb | Primul numar corect | 1 |
13 | 0ms | 292kb | Primul numar corect | 1 |
14 | 0ms | 240kb | Primul numar corect | 1 |
15 | 0ms | 328kb | OK | 5 |
16 | 0ms | 320kb | Primul numar corect | 1 |
17 | 0ms | 332kb | Primul numar corect | 1 |
18 | 0ms | 324kb | Primul numar corect | 1 |
19 | 0ms | 332kb | Primul numar corect | 1 |
20 | 0ms | 328kb | Primul numar corect | 1 |
Punctaj total | 24 |