Pagini recente » Borderou de evaluare (job #3256981) | Borderou de evaluare (job #3244044) | Borderou de evaluare (job #2697045) | Borderou de evaluare (job #266279) | Borderou de evaluare (job #1497467)
Borderou de evaluare (job #1497467)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:115:23: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if (!notZero || odd && even)
^
user.cpp:15:65: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
#define STDIN_FILE_OPEN(FileName) {freopen(FileName, "r", stdin);}
^
user.cpp:79:2: note: in expansion of macro ‘STDIN_FILE_OPEN’
STDIN_FILE_OPEN(IN_FILE_NAME);
^
user.cpp:16:67: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
#define STDOUT_FILE_OPEN(FileName) {freopen(FileName, "w", stdout);}
^
user.cpp:80:2: note: in expansion of macro ‘STDOUT_FILE_OPEN’
STDOUT_FILE_OPEN(OUT_FILE_NAME);
^
user.cpp:87:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tests);
^
user.cpp:92:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:102:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &nr);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 264kb | Time limit exceeded. | 0 |
Punctaj total | 0 |