Pagini recente » Borderou de evaluare (job #2935064) | Borderou de evaluare (job #1733752) | Borderou de evaluare (job #103845) | Borderou de evaluare (job #351793) | Borderou de evaluare (job #1565192)
Borderou de evaluare (job #1565192)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:53:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lampa.in", "r", stdin);
^
user.cpp:54:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &l);
^
user.cpp:55:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp: In function ‘void write()’:
user.cpp:80:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lampa.out", "w", stdout);
^
/tmp/ccgJX2v3.o: In function `read()':
user.cpp:(.text+0x2bc): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 3400kb | OK | 10 | 0 |
2 | 4ms | 3412kb | Incorect | 0 |
3 | 8ms | 3404kb | OK | 10 | 10 |
4 | 8ms | 3408kb | Incorect | 0 | 0 |
5 | 8ms | 3448kb | OK | 10 | 10 |
6 | 8ms | 3488kb | OK | 10 | 20 |
7 | 24ms | 3864kb | OK | 10 |
8 | 16ms | 3984kb | OK | 10 | 0 |
9 | 40ms | Depăşit | Memory limit exceeded. | 0 |
10 | 28ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 40 |