Pagini recente » Borderou de evaluare (job #2672053) | Borderou de evaluare (job #991067) | Cod sursa (job #2932411) | Borderou de evaluare (job #932015) | Borderou de evaluare (job #1471418)
Borderou de evaluare (job #1471418)
Raport evaluator
Compilare:
user.cpp: In function ‘int in_hash(int, int, int)’:
user.cpp:29:37: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < V[x % mod].size(); ++ i)
^
user.cpp: In function ‘void read()’:
user.cpp:14:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("substr.in", "r", stdin);
^
user.cpp:15:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &k);
^
user.cpp:16: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 write()’:
user.cpp:80:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("substr.out", "w", stdout);
^
/tmp/cc2ZS3ir.o: In function `read()':
user.cpp:(.text+0x7c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 8444kb | Time limit exceeded. | 0 |
2 | Depăşit | 8448kb | Time limit exceeded. | 0 |
3 | Depăşit | 8444kb | Time limit exceeded. | 0 |
4 | 84ms | 8756kb | OK | 10 |
5 | Depăşit | 8400kb | Time limit exceeded. | 0 |
6 | Depăşit | 8392kb | Time limit exceeded. | 0 |
7 | 28ms | 8096kb | OK | 10 |
8 | Depăşit | 8112kb | Time limit exceeded. | 0 |
9 | 48ms | 8220kb | OK | 10 |
10 | Depăşit | 8376kb | Time limit exceeded. | 0 |
Punctaj total | 30 |