Pagini recente » Borderou de evaluare (job #2525131) | Borderou de evaluare (job #2552664) | Borderou de evaluare (job #2095482) | Borderou de evaluare (job #1660977) | Borderou de evaluare (job #1678387)
Borderou de evaluare (job #1678387)
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:28:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s);
^
/tmp/ccGHb1F5.o: In function `main':
user.cpp:(.text.startup+0x1a5): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 308kb | OK | 10 |
2 | 0ms | 308kb | OK | 10 |
3 | 0ms | 312kb | OK | 10 |
4 | 0ms | 308kb | OK | 10 |
5 | 12ms | 344kb | Gresit! | 3 |
6 | 0ms | 312kb | OK | 10 |
7 | 48ms | 464kb | Gresit! | 3 |
8 | 68ms | 548kb | Gresit! | 3 |
9 | 0ms | 320kb | OK | 10 |
10 | 4ms | 320kb | OK | 10 |
Punctaj total | 79 |