Pagini recente » Borderou de evaluare (job #1315184) | Borderou de evaluare (job #1289854) | Borderou de evaluare (job #1955227) | Borderou de evaluare (job #1453164) | Borderou de evaluare (job #1461688)
Borderou de evaluare (job #1461688)
Raport evaluator
Compilare:
user.cpp: In function ‘int operatie(char*, int, int, char, char)’:
user.cpp:26:23: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
else if (s[i]==c1 && ok==1 || s[i]==c2 && ok==1)
^
user.cpp: In function ‘int main()’:
user.cpp:73:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[100000]’ [-Wformat=]
scanf("%s",&s);
^
user.cpp: In function ‘int rezolv(char*, int, int)’:
user.cpp:66:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:71:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("evaluare.in","r",stdin);
^
user.cpp:72:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("evaluare.out","w",stdout);
^
user.cpp:73:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 436kb | OK | 10 |
2 | 0ms | 432kb | Incorect | 0 |
3 | 0ms | 436kb | Incorect | 0 |
4 | 0ms | 436kb | Incorect | 0 |
5 | 0ms | 436kb | Incorect | 0 |
6 | 0ms | 436kb | Incorect | 0 |
7 | 4ms | 444kb | Incorect | 0 |
8 | 12ms | 460kb | Incorect | 0 |
9 | Depăşit | 504kb | Time limit exceeded. | 0 |
10 | Depăşit | 484kb | Time limit exceeded. | 0 |
Punctaj total | 10 |