Pagini recente » Borderou de evaluare (job #2022299) | Borderou de evaluare (job #1288654) | Borderou de evaluare (job #1736366) | Borderou de evaluare (job #1082012) | Borderou de evaluare (job #1768105)
Borderou de evaluare (job #1768105)
Raport evaluator
Compilare:
user.cpp: In function ‘void update(int, int, int&)’:
user.cpp:25:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < g[x1].size(); ++i)
^
user.cpp: In function ‘int main()’:
user.cpp:59: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:60: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);
^
user.cpp:63: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:64:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/ccO9bAHl.o: In function `main':
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 40ms | 4796kb | OK | 10 |
2 | 36ms | 4656kb | OK | 10 |
3 | 32ms | 4176kb | OK | 10 |
4 | 8ms | 2240kb | OK | 10 |
5 | 28ms | 3880kb | OK | 10 |
6 | 32ms | 4472kb | OK | 10 |
7 | 4ms | 1592kb | OK | 10 |
8 | 4ms | 1596kb | OK | 10 |
9 | 4ms | 1704kb | OK | 10 |
10 | 24ms | 3312kb | OK | 10 |
Punctaj total | 100 |