Pagini recente » Borderou de evaluare (job #3240762) | Borderou de evaluare (job #2789184) | Borderou de evaluare (job #2670111) | Borderou de evaluare (job #1467990) | Borderou de evaluare (job #1534630)
Borderou de evaluare (job #1534630)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:82: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:83: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:88: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:90:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(L[i] + 1);
^
user.cpp:104: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:90: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/ccNzxAvs.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 | 396kb | OK | 5 |
2 | 0ms | 388kb | OK | 5 |
3 | 4ms | 520kb | OK | 5 |
4 | 4ms | 516kb | OK | 5 |
5 | 512ms | 1532kb | OK | 5 |
6 | 520ms | 1528kb | OK | 5 |
7 | Depăşit | 5344kb | Time limit exceeded. | 0 |
8 | Depăşit | 5336kb | Time limit exceeded. | 0 |
9 | Depăşit | 1732kb | Time limit exceeded. | 0 |
10 | Depăşit | 1740kb | Time limit exceeded. | 0 |
11 | Depăşit | 3844kb | Time limit exceeded. | 0 |
12 | Depăşit | 3844kb | Time limit exceeded. | 0 |
13 | Depăşit | 6184kb | Time limit exceeded. | 0 |
14 | Depăşit | 6188kb | Time limit exceeded. | 0 |
15 | Depăşit | 13212kb | Time limit exceeded. | 0 |
16 | Depăşit | 13208kb | Time limit exceeded. | 0 |
17 | Depăşit | 13212kb | Time limit exceeded. | 0 |
18 | Depăşit | 13212kb | Time limit exceeded. | 0 |
19 | Depăşit | 13216kb | Time limit exceeded. | 0 |
20 | Depăşit | 13208kb | Time limit exceeded. | 0 |
Punctaj total | 30 |