Pagini recente » Borderou de evaluare (job #1891760) | Borderou de evaluare (job #830302) | Borderou de evaluare (job #916599) | Borderou de evaluare (job #1400104) | Borderou de evaluare (job #1560144)
Borderou de evaluare (job #1560144)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:19:15: warning: unused variable ‘p’ [-Wunused-variable]
int i, k, p;
^
user.cpp:20: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 rsw()’:
user.cpp:86:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("doi.in", "r", stdin);
^
user.cpp:87:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("doi.out", "w", stdout);
^
user.cpp:88:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
/tmp/ccoquRzP.o: In function `read()':
user.cpp:(.text+0x75): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | OK | 10 |
2 | 0ms | 448kb | OK | 10 |
3 | Depăşit | 432kb | Time limit exceeded. | 0 |
4 | 0ms | 440kb | OK | 10 |
5 | 0ms | 440kb | OK | 10 |
6 | 24ms | 444kb | OK | 10 |
7 | 116ms | 440kb | OK | 10 |
8 | Depăşit | 432kb | Time limit exceeded. | 0 |
9 | 108ms | 444kb | OK | 10 |
10 | 44ms | 444kb | OK | 10 |
Punctaj total | 80 |