Pagini recente » Borderou de evaluare (job #3212961) | Borderou de evaluare (job #1690406) | Borderou de evaluare (job #1393809) | Borderou de evaluare (job #83329) | Borderou de evaluare (job #1814858)
Borderou de evaluare (job #1814858)
Raport evaluator
Compilare:
user.cpp: In function ‘bool Expresie()’:
user.cpp:33:48: warning: NULL used in arithmetic [-Wpointer-arith]
while((s[poz]=='&' || s[poz]=='|') && s[poz]!=NULL)
^
user.cpp: In function ‘bool Factor()’:
user.cpp:67:6: warning: unused variable ‘tip’ [-Wunused-variable]
int tip=-1;
^
user.cpp: In function ‘int main()’:
user.cpp:92:11: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
s[n-1]=NULL;
^
user.cpp:113:6: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
s[j]=NULL;
^
user.cpp: In function ‘bool Factor()’:
user.cpp:73:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:88:22: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(s,sizeof s,in);
^
user.cpp:115:21: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%d ",&n);
^
user.cpp:120:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in,"%c ",&x);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 0ms | 280kb | Incorect | 0 |
3 | 0ms | 284kb | Incorect | 0 |
4 | 0ms | 284kb | Incorect | 0 |
5 | 0ms | 280kb | OK | 10 |
6 | 0ms | 284kb | OK | 10 |
7 | 0ms | 280kb | OK | 10 |
8 | 0ms | 284kb | OK | 10 |
9 | 0ms | 284kb | OK | 10 |
10 | 0ms | 280kb | OK | 10 |
Punctaj total | 70 |