Pagini recente » Borderou de evaluare (job #313900) | Borderou de evaluare (job #2213668) | Borderou de evaluare (job #2171255) | Borderou de evaluare (job #2064890) | Borderou de evaluare (job #1567095)
Borderou de evaluare (job #1567095)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:63: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:64: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:66:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d\n", &n, &m, &q);
^
user.cpp:68:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a[i] + 1);
^
user.cpp:72:72: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d", &qry[i].l, &qry[i].c, &qry[i].l1, &qry[i].l2);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:46,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:68: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/cchzVWyc.o: In function `main':
user.cpp:(.text.startup+0x97): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 604kb | OK | 5 |
2 | 0ms | 600kb | OK | 5 |
3 | 0ms | 732kb | OK | 5 |
4 | 0ms | 724kb | OK | 5 |
5 | 152ms | 1720kb | OK | 5 |
6 | 144ms | 1724kb | OK | 5 |
7 | 396ms | 5284kb | OK | 5 |
8 | 368ms | 5280kb | OK | 5 |
9 | 280ms | 1940kb | OK | 5 |
10 | 264ms | 1948kb | OK | 5 |
11 | 492ms | 4052kb | OK | 5 |
12 | 488ms | 4052kb | OK | 5 |
13 | 708ms | 6392kb | OK | 5 |
14 | 688ms | 6396kb | OK | 5 |
15 | Depăşit | 13384kb | Time limit exceeded. | 0 |
16 | Depăşit | 13388kb | Time limit exceeded. | 0 |
17 | Depăşit | 13384kb | Time limit exceeded. | 0 |
18 | Depăşit | 13384kb | Time limit exceeded. | 0 |
19 | Depăşit | 13388kb | Time limit exceeded. | 0 |
20 | Depăşit | 13388kb | Time limit exceeded. | 0 |
Punctaj total | 70 |