Pagini recente » Borderou de evaluare (job #2127578) | Borderou de evaluare (job #95287) | Borderou de evaluare (job #2861891) | Borderou de evaluare (job #409629) | Borderou de evaluare (job #1439803)
Borderou de evaluare (job #1439803)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:30:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &n, &k);
^
user.cpp:32:27: warning: ignoring return value of ‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
fgets(S, S_MAX, stdin);
^
user.cpp: In function ‘int main()’:
user.cpp:52:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(FILENAME ".in", "r", stdin);
^
user.cpp:53:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(FILENAME ".out", "w", stdout);
^
user.cpp:56:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1052ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |