Pagini recente » Borderou de evaluare (job #2709578) | Borderou de evaluare (job #1571586) | Borderou de evaluare (job #1599091) | Borderou de evaluare (job #2073035) | Borderou de evaluare (job #1515431)
Borderou de evaluare (job #1515431)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:21: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
sparg("OR",'|',2);
^
user.cpp:37:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
sparg("AND",'&',3);
^
user.cpp:38:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
sparg("NOT",'!',3);
^
user.cpp:39:23: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
sparg("TRUE",'0',4);
^
user.cpp:40:24: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
sparg("FALSE",'1',5);
^
user.cpp:30:15: warning: unused variable ‘j’ [-Wunused-variable]
int n, i, j, s, t, d, k;
^
user.cpp:30:18: warning: unused variable ‘s’ [-Wunused-variable]
int n, i, j, s, t, d, k;
^
user.cpp:30:21: warning: unused variable ‘t’ [-Wunused-variable]
int n, i, j, s, t, d, k;
^
user.cpp:30:24: warning: unused variable ‘d’ [-Wunused-variable]
int n, i, j, s, t, d, k;
^
user.cpp:30:27: warning: unused variable ‘k’ [-Wunused-variable]
int n, i, j, s, t, d, k;
^
user.cpp:27:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bool.in","r",stdin);
^
user.cpp:28:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bool.out","w",stdout);
^
user.cpp:33:24: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(q,1005,stdin);
^
user.cpp:49:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%*c",&n);
^
user.cpp:51:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&lit);
^
user.cpp: In function ‘bool f1()’:
user.cpp:81:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | Incorect | 0 |
2 | 0ms | 272kb | Incorect | 0 |
3 | 0ms | 272kb | Incorect | 0 |
4 | 0ms | 276kb | Incorect | 0 |
5 | 0ms | 276kb | Incorect | 0 |
6 | 0ms | 268kb | Incorect | 0 |
7 | 0ms | 272kb | Incorect | 0 |
8 | 0ms | 268kb | Incorect | 0 |
9 | 0ms | 276kb | Incorect | 0 |
10 | 0ms | 276kb | Incorect | 0 |
Punctaj total | 0 |