Pagini recente » Cod sursa (job #2682987) | Cod sursa (job #701814) | Cod sursa (job #385832) | Cod sursa (job #3300209) | Borderou de evaluare (job #1800704)
Borderou de evaluare (job #1800704)
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/ccXOD9C5.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 | 292kb | OK | 10 |
| 2 | 76ms | 432kb | OK | 10 |
| 3 | Depăşit | 656kb | Time limit exceeded. | 0 |
| 4 | Depăşit | 720kb | Time limit exceeded. | 0 |
| 5 | Depăşit | 852kb | Time limit exceeded. | 0 |
| 6 | Depăşit | 972kb | Time limit exceeded. | 0 |
| 7 | Depăşit | 1444kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 2036kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 2620kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 3200kb | Time limit exceeded. | 0 |
| Punctaj total | 20 |