Pagini recente » Borderou de evaluare (job #2071555) | Borderou de evaluare (job #25510) | Borderou de evaluare (job #2990901) | Borderou de evaluare (job #2900348) | Borderou de evaluare (job #1737348)
Borderou de evaluare (job #1737348)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:146:23: warning: NULL used in arithmetic [-Wpointer-arith]
while(s[pointer]!=NULL){
^
user.cpp:147:27: warning: NULL used in arithmetic [-Wpointer-arith]
while(s[pointer]!=NULL&&!IsDigit(s[pointer]))
^
user.cpp:149:24: warning: NULL used in arithmetic [-Wpointer-arith]
if(s[pointer]!=NULL){
^
user.cpp:150:31: warning: NULL used in arithmetic [-Wpointer-arith]
while(s[pointer]!=NULL&&IsDigit(s[pointer])){
^
user.cpp: In function ‘int FindPosition(int)’:
user.cpp:47:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:143:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expr.in","r",stdin);
^
user.cpp:144:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expr.out","w",stdout);
^
user.cpp:145:18: 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 | 288kb | OK | 10 |
2 | 0ms | 296kb | OK | 10 |
3 | 0ms | 272kb | OK | 10 |
4 | 0ms | 356kb | OK | 10 |
5 | 0ms | 352kb | OK | 10 |
6 | 0ms | 324kb | OK | 10 |
7 | 0ms | 408kb | OK | 10 |
8 | 0ms | 308kb | OK | 10 |
9 | 12ms | 1320kb | OK | 10 |
10 | 4ms | 956kb | OK | 10 |
Punctaj total | 100 |