Pagini recente » Borderou de evaluare (job #886266) | Borderou de evaluare (job #1498837) | Borderou de evaluare (job #2871239) | Borderou de evaluare (job #160097) | Borderou de evaluare (job #1909965)
Borderou de evaluare (job #1909965)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:110:20: warning: converting to non-pointer type ‘char’ from NULL [-Wconversion-null]
char chr = NULL;
^
user.cpp:120:13: warning: unused variable ‘pos’ [-Wunused-variable]
int pos = 0;
^
user.cpp:92:36: 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:93:38: 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:95:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(cuv1 + 1);
^
user.cpp:96:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(cuv2 + 1);
^
user.cpp:108:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for (scanf("%d\n", &Q); Q; --Q)
^
user.cpp:112:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &chr);
^
user.cpp:116:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c", &chr);
^
/tmp/ccbpYnoJ.o: In function `main':
user.cpp:(.text.startup+0x58): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 488kb | Incorect | 0 |
2 | 0ms | 504kb | Incorect | 0 |
3 | 0ms | 552kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 572kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 548kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 800kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 700kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 988kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 1048kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 0ms | 488kb | Incorect | 0 |
Punctaj total | 0 |