Pagini recente » Borderou de evaluare (job #717770) | Borderou de evaluare (job #2266332) | Borderou de evaluare (job #73892) | Borderou de evaluare (job #150798) | Borderou de evaluare (job #1831273)
Borderou de evaluare (job #1831273)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:59:28: warning: NULL used in arithmetic [-Wpointer-arith]
for (int j=0;s[j]!=NULL;j++)
^
user.cpp:88:28: warning: NULL used in arithmetic [-Wpointer-arith]
for (int j=2;s[j]!=NULL;j++)
^
user.cpp:48:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("disconnect.in","r",stdin);
^
user.cpp:49:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("disconnect.out","w",stdout);
^
user.cpp:51:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n",&n,&m);
^
user.cpp:54:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
user.cpp:82:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccyOJnxN.o: In function `main':
user.cpp:(.text.startup+0x88): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 2616kb | OK | 10 |
2 | 0ms | 2648kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 144ms | 2828kb | Incorect | 0 |
4 | 8ms | 3016kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 80ms | 5592kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 92ms | 5996kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 48ms | 6080kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 100ms | 6480kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 104ms | 6528kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 108ms | 6524kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 10 |