Pagini recente » Borderou de evaluare (job #2317654) | Borderou de evaluare (job #2482795) | Borderou de evaluare (job #429818) | Borderou de evaluare (job #3158368) | Borderou de evaluare (job #1461710)
Borderou de evaluare (job #1461710)
Raport evaluator
Compilare:
user.cpp: In function ‘int operatie(int, int, char, char)’:
user.cpp:28:27: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
else if (s[i]==c1 && ok==0 || s[i]==c2 && ok==0)
^
user.cpp: In function ‘int main()’:
user.cpp:67: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 verif(int, int)’:
user.cpp:18:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int rezolv(int, int)’:
user.cpp:62:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:65: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:66: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:67: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 | 416kb | Incorect | 0 |
2 | 0ms | 416kb | Incorect | 0 |
3 | 0ms | 420kb | Incorect | 0 |
4 | 0ms | 420kb | Incorect | 0 |
5 | 0ms | 420kb | Incorect | 0 |
6 | 0ms | 420kb | Incorect | 0 |
7 | 0ms | 428kb | Incorect | 0 |
8 | 0ms | 436kb | Incorect | 0 |
9 | 4ms | 516kb | Incorect | 0 |
10 | 0ms | 512kb | Incorect | 0 |
Punctaj total | 0 |