Pagini recente » Borderou de evaluare (job #781590) | Borderou de evaluare (job #396667) | Borderou de evaluare (job #1878644) | Borderou de evaluare (job #2293912) | Borderou de evaluare (job #1512985)
Borderou de evaluare (job #1512985)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:72:30: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘std::queue<int>::size_type {aka unsigned int}’ [-Wformat=]
printf ("%lu\n", Q.size());
^
user.cpp:36:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("graf.in", "r", stdin);
^
user.cpp:37:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("graf.out", "w", stdout);
^
user.cpp:38:43: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d%d%d\n", &n, &m, &xi, &xf);
^
user.cpp:41:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets (parser);
^
/tmp/ccMzc2pe.o: In function `main':
user.cpp:(.text.startup+0xa0): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 440kb | OK | 10 |
2 | 0ms | 444kb | OK | 10 |
3 | 0ms | 444kb | OK | 10 |
4 | 0ms | 440kb | OK | 10 |
5 | 0ms | 440kb | OK | 10 |
6 | 8ms | 720kb | OK | 10 |
7 | 0ms | 516kb | OK | 10 |
8 | 4ms | 660kb | OK | 10 |
9 | 8ms | 708kb | OK | 10 |
10 | 8ms | 692kb | OK | 10 |
Punctaj total | 100 |