Pagini recente » Cod sursa (job #1545280) | Cod sursa (job #1987791) | Cod sursa (job #966795) | Cod sursa (job #1961447) | Borderou de evaluare (job #1308503)
Borderou de evaluare (job #1308503)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:54:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bifo.in","r",stdin);
^
user.cpp:55:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("bifo.out","w",stdout);
^
user.cpp:56:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b);
^
user.cpp:57:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(c);
^
user.cpp:58:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&m);
^
user.cpp:62:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld",&n);
^
/tmp/ccrwYHJc.o: In function `main':
user.cpp:(.text.startup+0x54): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 264kb | Incorect | 0 |
| 2 | 0ms | 260kb | Incorect | 0 |
| 3 | 0ms | 252kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 0ms | 256kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 0ms | 224kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 4ms | 1816kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 4ms | 1812kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 4ms | 1784kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 4ms | 1812kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 256kb | Incorect | 0 |
| Punctaj total | 0 |