Pagini recente » Borderou de evaluare (job #3184472) | Borderou de evaluare (job #3184236) | Borderou de evaluare (job #1728519) | Borderou de evaluare (job #1305045) | Borderou de evaluare (job #1471442)
Borderou de evaluare (job #1471442)
Raport evaluator
Compilare:
user.cpp: In function ‘int in_hash(int, int, int)’:
user.cpp:33:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < V[x].size(); ++ i)
^
user.cpp: In function ‘void read()’:
user.cpp:15: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:16: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:20: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:83: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/ccfAeS93.o: In function `read()':
user.cpp:(.text+0xd8): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 56ms | 2580kb | OK | 10 |
| 2 | 56ms | 2496kb | OK | 10 |
| 3 | 52ms | 2380kb | OK | 10 |
| 4 | 8ms | 1348kb | OK | 10 |
| 5 | 52ms | 2268kb | OK | 10 |
| 6 | 52ms | 2404kb | OK | 10 |
| 7 | 0ms | 896kb | OK | 10 |
| 8 | 0ms | 908kb | OK | 10 |
| 9 | 0ms | 984kb | OK | 10 |
| 10 | 40ms | 1960kb | OK | 10 |
| Punctaj total | 100 |