Pagini recente » Borderou de evaluare (job #69227) | Borderou de evaluare (job #3235791) | Borderou de evaluare (job #2275351) | Borderou de evaluare (job #1448473) | Borderou de evaluare (job #1498097)
Borderou de evaluare (job #1498097)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:13:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("knumere.in", "r", stdin);
^
user.cpp:14:29: 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:15:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp: In function ‘void write()’:
user.cpp:63:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("knumere.out", "w", stdout);
^
/tmp/ccozwuQ9.o: In function `read()':
user.cpp:(.text+0x50): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | Incorect | 0 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 284kb | OK | 10 |
4 | 0ms | 288kb | OK | 10 |
5 | 0ms | 376kb | OK | 10 |
6 | 12ms | 1272kb | OK | 10 |
7 | 4ms | 772kb | OK | 10 |
8 | 84ms | 7300kb | OK | 10 |
9 | 176ms | 14316kb | OK | 10 |
10 | 176ms | 14360kb | OK | 10 |
Punctaj total | 90 |