Pagini recente » Borderou de evaluare (job #2186140) | Borderou de evaluare (job #2186332) | Borderou de evaluare (job #1026512) | Borderou de evaluare (job #2757579) | Borderou de evaluare (job #1710287)
Borderou de evaluare (job #1710287)
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:26:2: note: in expansion of macro ‘STDIN_FILE_OPEN’
STDIN_FILE_OPEN("consecutive.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:27:2: note: in expansion of macro ‘STDOUT_FILE_OPEN’
STDOUT_FILE_OPEN("consecutive.out")
^
user.cpp:31:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &tests);
^
user.cpp:40:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld", &S);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 304kb | Time limit exceeded. | 0 |
Punctaj total | 0 |