Pagini recente » Borderou de evaluare (job #709092) | Borderou de evaluare (job #861781) | Borderou de evaluare (job #2332814) | Borderou de evaluare (job #3260048) | Borderou de evaluare (job #1678558)
Borderou de evaluare (job #1678558)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:15: warning: unused variable ‘j’ [-Wunused-variable]
int n,k,i,j,p,len,x;
^
user.cpp:11:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ec.in","r",stdin);
^
user.cpp:12:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("ec.out","w",stdout);
^
user.cpp:14:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&k);
^
user.cpp:18:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:21:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:27:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccazylMg.o: In function `main':
user.cpp:(.text.startup+0xfd): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 300kb | OK | 10 |
2 | 0ms | 300kb | OK | 10 |
3 | 0ms | 304kb | OK | 10 |
4 | 0ms | 304kb | OK | 10 |
5 | 8ms | 312kb | OK | 10 |
6 | 0ms | 304kb | OK | 10 |
7 | 40ms | 316kb | OK | 10 |
8 | 64ms | 316kb | OK | 10 |
9 | 0ms | 304kb | OK | 10 |
10 | 0ms | 304kb | OK | 10 |
Punctaj total | 100 |