Pagini recente » Borderou de evaluare (job #2536551) | Borderou de evaluare (job #831563) | Borderou de evaluare (job #2614510) | Borderou de evaluare (job #1105763) | Borderou de evaluare (job #2014818)
Borderou de evaluare (job #2014818)
Raport evaluator
Compilare:
user.cpp: In member function ‘void Trie::cnt(int)’:
user.cpp:49:13: warning: unused variable ‘ok’ [-Wunused-variable]
int ok = 1;
^
user.cpp: In function ‘int main()’:
user.cpp:61:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.in", "r", stdin);
^
user.cpp:62:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sub.out", "w", stdout);
^
user.cpp:65:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &n);
^
user.cpp:69:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:78:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &m);
^
user.cpp:80:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/ccIGytXm.o: In function `main':
user.cpp:(.text.startup+0xba): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 304kb | Incorect | 0 |
2 | 0ms | 288kb | Incorect | 0 |
3 | 0ms | 316kb | Incorect | 0 |
4 | 0ms | 384kb | Incorect | 0 |
5 | 8ms | 408kb | Incorect | 0 |
6 | 8ms | 372kb | Incorect | 0 |
7 | 32ms | 312kb | Incorect | 0 |
8 | 64ms | 412kb | Incorect | 0 |
9 | 68ms | 436kb | Incorect | 0 |
10 | 48ms | 340kb | Incorect | 0 |
Punctaj total | 0 |