Pagini recente » Borderou de evaluare (job #2644) | Borderou de evaluare (job #2578) | pscfft | Borderou de evaluare (job #21796) | Borderou de evaluare (job #909577)
Borderou de evaluare (job #909577)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:76: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:77: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:78: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result
user.cpp:82: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result
user.cpp:83: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result
user.cpp: In function ‘void svap_for_pair(int, int)’:
user.cpp:55: warning: ‘pozb’ may be used uninitialized in this function
user.cpp:55: warning: ‘poza’ may be used uninitialized in this function
In file included from /usr/include/stdio.h:910,
from /usr/include/c++/4.4/cstdio:45,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:82:
/usr/include/bits/stdio2.h:230: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:83:
/usr/include/bits/stdio2.h:230: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size
/tmp/cc6TnAZH.o: In function `main':
user.cpp:(.text+0x382): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 244kb | OK! | 5 |
| 2 | 0ms | 240kb | OK! | 5 |
| 3 | 0ms | 240kb | OK! | 5 |
| 4 | 0ms | 240kb | OK! | 5 |
| 5 | 0ms | 240kb | OK! | 5 |
| 6 | 4ms | 240kb | OK! | 5 |
| 7 | 4ms | 240kb | OK! | 5 |
| 8 | 4ms | 240kb | OK! | 5 |
| 9 | 16ms | 240kb | OK! | 5 |
| 10 | 12ms | 244kb | OK! | 5 |
| 11 | 0ms | 240kb | OK! | 5 |
| 12 | 4ms | 240kb | OK! | 5 |
| 13 | 4ms | 240kb | OK! | 5 |
| 14 | 4ms | 244kb | OK! | 5 |
| 15 | 8ms | 240kb | OK! | 5 |
| 16 | 8ms | 244kb | OK! | 5 |
| 17 | 16ms | 240kb | OK! | 5 |
| 18 | 4ms | 240kb | OK! | 5 |
| 19 | 24ms | 240kb | OK! | 5 |
| 20 | 0ms | 244kb | OK! | 5 |
| Punctaj total | 100 |