Pagini recente » Borderou de evaluare (job #487313) | Borderou de evaluare (job #2119322) | Borderou de evaluare (job #2062116) | Borderou de evaluare (job #1560284) | Borderou de evaluare (job #1417484)
Borderou de evaluare (job #1417484)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("k1.in","r",stdin);
^
user.cpp:20:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("k1.out","w",stdout);
^
user.cpp:22:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n", &n);
^
user.cpp:26:23: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(buff + 1); int lg = strlen(buff + 1);
^
/tmp/ccfaRr96.o: In function `main':
user.cpp:(.text.startup+0x88): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 296kb | OK | 10 |
4 | 0ms | 360kb | OK | 10 |
5 | 20ms | 664kb | OK | 10 |
6 | 160ms | 3428kb | OK | 10 |
7 | 160ms | 3692kb | OK | 10 |
8 | 180ms | 3692kb | OK | 10 |
9 | 200ms | 4220kb | OK | 10 |
10 | 0ms | 280kb | OK | 10 |
Punctaj total | 100 |