Pagini recente » Cod sursa (job #3237410) | Borderou de evaluare (job #492009) | Cod sursa (job #2411337) | Cod sursa (job #1988006) | Borderou de evaluare (job #1800711)
Borderou de evaluare (job #1800711)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:52:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(InFile, "r", stdin);
^
user.cpp:53:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(OuFile, "w", stdout);
^
user.cpp:54:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &K); getchar();
^
user.cpp:55:11: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(buf);
^
/tmp/cc19H4vI.o: In function `main':
user.cpp:(.text.startup+0x7f): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 428kb | OK | 10 |
3 | 4ms | 920kb | OK | 10 |
4 | 4ms | 1012kb | OK | 10 |
5 | 8ms | 1256kb | OK | 10 |
6 | 8ms | 1452kb | OK | 10 |
7 | 16ms | 2236kb | OK | 10 |
8 | 24ms | 3216kb | OK | 10 |
9 | 32ms | 4200kb | OK | 10 |
10 | 40ms | 5164kb | OK | 10 |
Punctaj total | 100 |