Pagini recente » Borderou de evaluare (job #2217940) | Borderou de evaluare (job #295274) | Borderou de evaluare (job #1487462) | Borderou de evaluare (job #795540) | Borderou de evaluare (job #1497461)
Borderou de evaluare (job #1497461)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:113: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:77: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:78:2: note: in expansion of macro ‘STDOUT_FILE_OPEN’
STDOUT_FILE_OPEN(OUT_FILE_NAME);
^
user.cpp:85:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tests);
^
user.cpp:90:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:100: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 | 1700kb | Time limit exceeded. | 0 |
Punctaj total | 0 |