Pagini recente » Rezultatele filtrării | Borderou de evaluare (job #2006293) | Borderou de evaluare (job #1795667)
Borderou de evaluare (job #1795667)
Raport evaluator
Compilare:
user.cpp: In function ‘void prepare(char*, int (*)[30], int)’:
user.cpp:14:27: warning: argument to ‘sizeof’ in ‘void* memset(void*, int, size_t)’ call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess]
memset(nxt, 0, sizeof nxt);
^
user.cpp: In function ‘int main()’:
user.cpp:52:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seif.in", "r", stdin);
^
user.cpp:53:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("seif.out", "w", stdout);
^
user.cpp:55:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &t);
^
user.cpp:57:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &k);
^
user.cpp:58:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a+1); n = strlen(a+1);
^
user.cpp:59:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b+1); m = strlen(b+1);
^
/tmp/ccVXql9H.o: In function `main':
user.cpp:(.text.startup+0x84): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 4736kb | Time limit exceeded. | 0 |
2 | Depăşit | 4756kb | Time limit exceeded. | 0 |
3 | Depăşit | 4780kb | Time limit exceeded. | 0 |
4 | Depăşit | 4840kb | Time limit exceeded. | 0 |
5 | Depăşit | 4904kb | Time limit exceeded. | 0 |
6 | Depăşit | 4908kb | Time limit exceeded. | 0 |
7 | Depăşit | 4936kb | Time limit exceeded. | 0 |
8 | Depăşit | 4960kb | Time limit exceeded. | 0 |
9 | Depăşit | 4964kb | Time limit exceeded. | 0 |
10 | Depăşit | 4964kb | Time limit exceeded. | 0 |
Punctaj total | 0 |