Pagini recente » Borderou de evaluare (job #2157407) | Borderou de evaluare (job #2196061) | Borderou de evaluare (job #1493914) | Borderou de evaluare (job #966676) | Borderou de evaluare (job #1503311)
Borderou de evaluare (job #1503311)
Raport evaluator
Compilare:
user.cpp: In function ‘int f_eval(int)’:
user.cpp:39:28: warning: unused variable ‘sg’ [-Wunused-variable]
int v[30],pos=-1,rez=0,sg=1,x;
^
user.cpp:39:33: warning: unused variable ‘x’ [-Wunused-variable]
int v[30],pos=-1,rez=0,sg=1,x;
^
user.cpp: In function ‘int main()’:
user.cpp:65:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[300]’ [-Wformat=]
scanf("%s",&exp);
^
user.cpp:66:26: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[300]’ [-Wformat=]
while(scanf("%s",&sir)!=EOF)
^
user.cpp:62:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("apel.in","r",stdin);
^
user.cpp:63:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("apel.out","w",stdout);
^
user.cpp:65:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&exp);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 288kb | OK | 10 |
3 | 0ms | 292kb | OK | 10 |
4 | 0ms | 284kb | OK | 10 |
5 | 0ms | 288kb | OK | 10 |
6 | 0ms | 280kb | OK | 10 |
7 | 0ms | 292kb | OK | 10 |
8 | 0ms | 296kb | OK | 10 |
9 | 0ms | 288kb | OK | 10 |
10 | 0ms | 280kb | OK | 10 |
Punctaj total | 100 |