Pagini recente » Borderou de evaluare (job #130373) | Borderou de evaluare (job #1119046) | Borderou de evaluare (job #2009317) | Borderou de evaluare (job #1184146) | Borderou de evaluare (job #1657576)
Borderou de evaluare (job #1657576)
Raport evaluator
Compilare:
user.cpp: In function ‘void kmp(char*, char*, int)’:
user.cpp:36:9: warning: unused variable ‘ok’ [-Wunused-variable]
int ok = 0;
^
user.cpp: In function ‘int main()’:
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("carte.in", "r", stdin);
^
user.cpp:54:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carte.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:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b + 1);
^
user.cpp:59:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:61:24: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a + 1);
^
/tmp/ccqGWgys.o: In function `main':
user.cpp:(.text.startup+0x80): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 1016kb | Time limit exceeded. | 0 |
Punctaj total | 0 |