Pagini recente » Borderou de evaluare (job #294863) | Borderou de evaluare (job #1614431) | Borderou de evaluare (job #294063) | Borderou de evaluare (job #293385) | Borderou de evaluare (job #1614460)
Borderou de evaluare (job #1614460)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:13:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &n, &k);
^
user.cpp:15:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp: In function ‘int main()’:
user.cpp:81:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carti.in", "r", stdin);
^
user.cpp:82:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("carti.out", "w", stdout);
^
user.cpp:83:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
/tmp/ccMoY2xC.o: In function `read()':
user.cpp:(.text+0x66): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 576kb | Incorect | 0 |
| 2 | 4ms | 552kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 0ms | 540kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 0ms | 540kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 4ms | 552kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 0ms | 544kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 4ms | 548kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 548kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 4ms | 544kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 544kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |