Pagini recente » Borderou de evaluare (job #1574992) | Borderou de evaluare (job #239962) | Borderou de evaluare (job #1490781) | Borderou de evaluare (job #2780347) | Borderou de evaluare (job #2018859)
Borderou de evaluare (job #2018859)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:51:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ratina.in", "r", stdin);
^
user.cpp:52:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ratina.out", "w", stdout);
^
user.cpp:55: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:59:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str[i]);
^
user.cpp:65:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &k);
^
user.cpp:67:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &v[i]);
^
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:59:21:
/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/ccJmil03.o: In function `main':
user.cpp:(.text.startup+0x85): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 208ms | 1684kb | OK | 5 |
| 2 | 208ms | 1684kb | OK | 5 |
| 3 | 20ms | 2004kb | OK | 5 |
| 4 | 20ms | 2004kb | OK | 5 |
| 5 | 20ms | 1972kb | OK | 5 |
| 6 | 20ms | 1976kb | OK | 5 |
| 7 | 208ms | 3764kb | OK | 5 |
| 8 | 208ms | 3828kb | OK | 5 |
| 9 | 212ms | 3832kb | OK | 5 |
| 10 | 204ms | 1692kb | OK | 5 |
| 11 | 212ms | 1492kb | OK | 5 |
| 12 | 200ms | 1908kb | OK | 5 |
| 13 | 212ms | 1696kb | OK | 5 |
| 14 | 204ms | 1904kb | OK | 5 |
| 15 | 196ms | 1696kb | OK | 5 |
| 16 | 220ms | 60908kb | OK | 5 |
| 17 | 348ms | 61064kb | OK | 5 |
| 18 | 352ms | 61108kb | OK | 5 |
| 19 | 340ms | 60972kb | OK | 5 |
| 20 | 344ms | 60968kb | OK | 5 |
| Punctaj total | 100 |