Pagini recente » Borderou de evaluare (job #1790777) | Borderou de evaluare (job #1680616) | Borderou de evaluare (job #1081381) | Borderou de evaluare (job #115557) | Borderou de evaluare (job #1918130)
Borderou de evaluare (job #1918130)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:89:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("miting.in", "r", stdin);
^
user.cpp:90:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("miting.out", "w", stdout);
^
user.cpp:93:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &p);
^
user.cpp:94:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n", &n, &m);
^
user.cpp:95:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp:97:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(v[i] + 1);
^
user.cpp:119:50: warning: ‘ymax’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d\n", (xmax - xmin + 1) * (ymax - ymin + 1));
^
user.cpp:119:50: warning: ‘ymin’ may be used uninitialized in this function [-Wmaybe-uninitialized]
user.cpp:119:30: warning: ‘xmax’ may be used uninitialized in this function [-Wmaybe-uninitialized]
printf("%d\n", (xmax - xmin + 1) * (ymax - ymin + 1));
^
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:97: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/ccmp3yw1.o: In function `main':
user.cpp:(.text.startup+0xaa): warning: the `gets' function is dangerous and should not be used.
user.cpp:(.text.startup+0x86): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 5 |
2 | 0ms | 280kb | OK | 5 |
3 | 0ms | 284kb | OK | 5 |
4 | 0ms | 276kb | OK | 5 |
5 | 0ms | 316kb | OK | 5 |
6 | Depăşit | 376kb | Time limit exceeded. | 0 |
7 | Depăşit | 360kb | Time limit exceeded. | 0 |
8 | Depăşit | 352kb | Time limit exceeded. | 0 |
9 | 4ms | 328kb | Incorect | 0 |
10 | Depăşit | 424kb | Time limit exceeded. | 0 |
11 | 56ms | 540kb | OK | 5 |
12 | Depăşit | 376kb | Time limit exceeded. | 0 |
13 | 156ms | 408kb | Incorect | 0 |
14 | 536ms | 576kb | OK | 5 |
15 | 204ms | 400kb | OK | 5 |
16 | Depăşit | 492kb | Time limit exceeded. | 0 |
17 | Depăşit | 488kb | Time limit exceeded. | 0 |
18 | Depăşit | 488kb | Time limit exceeded. | 0 |
19 | Depăşit | 492kb | Time limit exceeded. | 0 |
20 | Depăşit | 488kb | Time limit exceeded. | 0 |
Punctaj total | 40 |