Pagini recente » Borderou de evaluare (job #1381839) | Borderou de evaluare (job #1440532) | Borderou de evaluare (job #2284612) | Borderou de evaluare (job #2220250) | Borderou de evaluare (job #1710305)
Borderou de evaluare (job #1710305)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16: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:21:2: note: in expansion of macro ‘STDIN_FILE_OPEN’
STDIN_FILE_OPEN("carte2.in");
^
user.cpp:17: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:22:2: note: in expansion of macro ‘STDOUT_FILE_OPEN’
STDOUT_FILE_OPEN("carte2.out")
^
user.cpp:26:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tests);
^
user.cpp:31:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d %d", &a, &b, &c, &d, &e);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 260kb | OK | 100 |
Punctaj total | 100 |