Pagini recente » Borderou de evaluare (job #2511606) | Borderou de evaluare (job #417144) | Borderou de evaluare (job #1549076) | Borderou de evaluare (job #412843) | Borderou de evaluare (job #1250499)
Borderou de evaluare (job #1250499)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:29: warning: NULL used in arithmetic [-Wpointer-arith]
for(j = 0; ln[j] != NULL; ++ j)
^
user.cpp:25:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("senat.in", "r", stdin);
^
user.cpp:26:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("senat.out", "w", stdout);
^
user.cpp:30:28: 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:32:17: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ln);
^
/tmp/ccw6FqfK.o: In function `main':
user.cpp:(.text.startup+0xa0): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 0ms | 252kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 252kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 252kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 252kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 0ms | 248kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 0ms | 252kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 272kb | Incorect! | 0 |
10 | 0ms | 244kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |