Pagini recente » Borderou de evaluare (job #2125759) | Borderou de evaluare (job #846305) | Borderou de evaluare (job #1359050) | Borderou de evaluare (job #146261) | Borderou de evaluare (job #1534637)
Borderou de evaluare (job #1534637)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:83:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lcdr.in", "r", stdin);
^
user.cpp:84:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("lcdr.out", "w", stdout);
^
user.cpp:89:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d\n", &N, &M, &NQ);
^
user.cpp:91:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(L[i] + 1);
^
user.cpp:105:67: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &Q[i].l, &Q[i].c, &Q[i].l1, &Q[i].l2);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:91:23:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/ccgNKl2I.o: In function `main':
user.cpp:(.text.startup+0x8f): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 588kb | OK | 5 |
2 | 0ms | 580kb | OK | 5 |
3 | 0ms | 708kb | OK | 5 |
4 | 0ms | 704kb | OK | 5 |
5 | 100ms | 1724kb | OK | 5 |
6 | 96ms | 1724kb | OK | 5 |
7 | 252ms | 6052kb | OK | 5 |
8 | 252ms | 6044kb | OK | 5 |
9 | 172ms | 1968kb | OK | 5 |
10 | 168ms | 1980kb | OK | 5 |
11 | 340ms | 4440kb | OK | 5 |
12 | 340ms | 4444kb | OK | 5 |
13 | 508ms | 7172kb | OK | 5 |
14 | 516ms | 7172kb | OK | 5 |
15 | Depăşit | 15356kb | Time limit exceeded. | 0 |
16 | Depăşit | 15352kb | Time limit exceeded. | 0 |
17 | Depăşit | 15356kb | Time limit exceeded. | 0 |
18 | Depăşit | 15356kb | Time limit exceeded. | 0 |
19 | Depăşit | 15356kb | Time limit exceeded. | 0 |
20 | Depăşit | 15352kb | Time limit exceeded. | 0 |
Punctaj total | 70 |