Pagini recente » Borderou de evaluare (job #96508) | Borderou de evaluare (job #2112233) | Borderou de evaluare (job #1668664) | Borderou de evaluare (job #1206902) | Borderou de evaluare (job #1519305)
Borderou de evaluare (job #1519305)
Raport evaluator
Compilare:
user.cpp: In function ‘void hashing(int)’:
user.cpp:14:17: warning: unused variable ‘p2’ [-Wunused-variable]
int i, p1=1,p2=1, nr1=0, nr2=0;
^
user.cpp:14:30: warning: unused variable ‘nr2’ [-Wunused-variable]
int i, p1=1,p2=1, nr1=0, nr2=0;
^
user.cpp: In function ‘int main()’:
user.cpp:52:39: warning: unused variable ‘nrap’ [-Wunused-variable]
int lmax=1, l1, l2, m, secvmax=0, nrap=0, secv=0,i;
^
user.cpp:50:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("substr.in", "r", stdin);
^
user.cpp:51:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("substr.out", "w", stdout);
^
user.cpp:53:28: 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:54:12: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccRH2owQ.o: In function `main':
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 44ms | 576kb | Incorect | 0 |
2 | 52ms | 584kb | OK | 10 |
3 | 68ms | 580kb | OK | 10 |
4 | 8ms | 480kb | OK | 10 |
5 | 56ms | 580kb | OK | 10 |
6 | 48ms | 572kb | OK | 10 |
7 | 8ms | 580kb | Killed by signal 6(SIGABRT). | 0 |
8 | 24ms | 576kb | Killed by signal 6(SIGABRT). | 0 |
9 | 0ms | 456kb | OK | 10 |
10 | 100ms | 552kb | OK | 10 |
Punctaj total | 70 |