Pagini recente » Borderou de evaluare (job #57391) | Borderou de evaluare (job #126050) | Borderou de evaluare (job #1619305) | Borderou de evaluare (job #2751848) | Borderou de evaluare (job #1570732)
Borderou de evaluare (job #1570732)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42:19: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
sparg("OR",'|');
^
user.cpp:43:20: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
sparg("AND",'&');
^
user.cpp:44:20: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
sparg("NOT",'!');
^
user.cpp:45:21: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
sparg("TRUE",'1');
^
user.cpp:46:22: warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
sparg("FALSE",'0');
^
user.cpp:34:15: warning: unused variable ‘j’ [-Wunused-variable]
int n, i, j, s, t, d, k;
^
user.cpp:34:18: warning: unused variable ‘s’ [-Wunused-variable]
int n, i, j, s, t, d, k;
^
user.cpp:34:21: warning: unused variable ‘t’ [-Wunused-variable]
int n, i, j, s, t, d, k;
^
user.cpp:34:24: warning: unused variable ‘d’ [-Wunused-variable]
int n, i, j, s, t, d, k;
^
user.cpp:34:27: warning: unused variable ‘k’ [-Wunused-variable]
int n, i, j, s, t, d, k;
^
user.cpp:31: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:32: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:39:24: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(q,1500,stdin);
^
user.cpp:57:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&n);
^
user.cpp:59:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&lit);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 244kb | OK | 10 |
2 | 0ms | 244kb | Incorect | 0 |
3 | 0ms | 248kb | Incorect | 0 |
4 | 0ms | 244kb | Incorect | 0 |
5 | 0ms | 244kb | Incorect | 0 |
6 | 0ms | 244kb | Incorect | 0 |
7 | 0ms | 248kb | Incorect | 0 |
8 | 0ms | 244kb | Incorect | 0 |
9 | 0ms | 244kb | Incorect | 0 |
10 | 0ms | 244kb | OK | 10 |
Punctaj total | 20 |