Pagini recente » Borderou de evaluare (job #1370129) | Borderou de evaluare (job #753456) | Borderou de evaluare (job #1492810) | Borderou de evaluare (job #1720586) | Borderou de evaluare (job #1439807)
Borderou de evaluare (job #1439807)
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 | 436ms | 5144kb | OK | 100 |
Punctaj total | 100 |