Pagini recente » Borderou de evaluare (job #987295) | Borderou de evaluare (job #1336684) | Borderou de evaluare (job #380477) | Borderou de evaluare (job #2642401) | Borderou de evaluare (job #1412289)
Borderou de evaluare (job #1412289)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:15: warning: unused variable ‘j’ [-Wunused-variable]
int n,k,i,j,mi,la,pu,tm,st,dr;
^
user.cpp:7:35: 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:8:37: 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:11:26: 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:12:15: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(si+1);
^
/tmp/cc7sWpCm.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 | 88ms | 6132kb | Incorect | 0 |
2 | 92ms | 6132kb | OK | 10 |
3 | 88ms | 6136kb | OK | 10 |
4 | 68ms | 6128kb | OK | 10 |
5 | 84ms | 6128kb | OK | 10 |
6 | 88ms | 6136kb | OK | 10 |
7 | 56ms | 6116kb | OK | 10 |
8 | 56ms | 6116kb | OK | 10 |
9 | 56ms | 6124kb | OK | 10 |
10 | 84ms | 6128kb | OK | 10 |
Punctaj total | 90 |