Pagini recente » Borderou de evaluare (job #2199161) | Borderou de evaluare (job #1767682) | Borderou de evaluare (job #2600783) | Borderou de evaluare (job #9165) | Borderou de evaluare (job #1406082)
Borderou de evaluare (job #1406082)
Raport evaluator
Compilare:
user.cpp: In function ‘void kmp1()’:
user.cpp:48:9: warning: unused variable ‘ok’ [-Wunused-variable]
int ok = 0;
^
user.cpp: In function ‘void kmp2()’:
user.cpp:63:9: warning: unused variable ‘ok’ [-Wunused-variable]
int ok = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:87:38: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i = 0; i < sol1.size(); ++i)
^
user.cpp:86:13: warning: unused variable ‘n’ [-Wunused-variable]
int n = strlen(a);
^
user.cpp:75:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv10.in", "r", stdin);
^
user.cpp:76:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv10.out", "w", stdout);
^
user.cpp:77:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &T);
^
user.cpp:81:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b + 1);
^
user.cpp:82:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a + 1);
^
user.cpp:83:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(c + 1);
^
/tmp/ccLlBRvO.o: In function `main':
user.cpp:(.text.startup+0x7d): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 1876kb | Time limit exceeded. | 0 |
Punctaj total | 0 |