Pagini recente » Cod sursa (job #12401) | Borderou de evaluare (job #2372708) | Borderou de evaluare (job #2147781) | Borderou de evaluare (job #1178190) | Borderou de evaluare (job #1579440)
Borderou de evaluare (job #1579440)
Raport evaluator
Compilare:
user.cpp: In function ‘void solve()’:
user.cpp:15:12: warning: unused variable ‘x’ [-Wunused-variable]
int i, x = 0, no = 0;
^
user.cpp: In function ‘void read()’:
user.cpp:9:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("klexico.in", "r", stdin);
^
user.cpp:10:29: 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:11:16: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
user.cpp: In function ‘void write()’:
user.cpp:31:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("klexico.out", "w", stdout);
^
/tmp/ccnbZDx2.o: In function `read()':
user.cpp:(.text+0x4c): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
| 1 | 0ms | 448kb | OK | 10 | 10 |
| 2 | 0ms | 444kb | OK | 10 | 10 |
| 3 | 0ms | 452kb | OK | 10 | 10 |
| 4 | 0ms | 452kb | OK | 10 | 10 |
| 5 | 0ms | 504kb | OK | 10 | 30 |
| 6 | 0ms | 504kb | OK | 10 |
| 7 | 0ms | 952kb | OK | 10 |
| 8 | 0ms | 936kb | OK | 10 | 30 |
| 9 | 4ms | 1284kb | OK | 10 |
| 10 | 0ms | 928kb | OK | 10 |
| Punctaj total | 100 |