Pagini recente » Borderou de evaluare (job #1440567) | Borderou de evaluare (job #3327377) | Borderou de evaluare (job #3328739) | Borderou de evaluare (job #3331409) | Borderou de evaluare (job #1899220)
Borderou de evaluare (job #1899220)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:58: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:59:39: 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:63:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d\n", &q, &n, &m);
^
user.cpp:64:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(word);
^
user.cpp:68:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s[i]+1);
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:2:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:68: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/cc1xT0RS.o: In function `main':
user.cpp:(.text.startup+0xb1): warning: the `gets' function is dangerous and should not be used.
user.cpp:(.text.startup+0x7a): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 296kb | OK | 5 |
| 2 | 0ms | 308kb | OK | 5 |
| 3 | 0ms | 304kb | OK | 5 |
| 4 | 0ms | 304kb | OK | 5 |
| 5 | 0ms | 376kb | OK | 5 |
| 6 | 4ms | 1684kb | OK | 5 |
| 7 | 8ms | 2088kb | OK | 5 |
| 8 | 8ms | 2084kb | OK | 5 |
| 9 | 0ms | 404kb | OK | 5 |
| 10 | 20ms | 1792kb | OK | 5 |
| 11 | 0ms | 412kb | OK | 5 |
| 12 | 12ms | 1932kb | OK | 5 |
| 13 | 0ms | 608kb | OK | 5 |
| 14 | 4ms | 692kb | OK | 5 |
| 15 | 0ms | 752kb | OK | 5 |
| 16 | 52ms | 1712kb | OK | 5 |
| 17 | 48ms | 1936kb | OK | 5 |
| 18 | 72ms | 1936kb | OK | 5 |
| 19 | 80ms | 2096kb | OK | 5 |
| 20 | 48ms | 2096kb | OK | 5 |
| Punctaj total | 100 |