Borderou de evaluare (job #2118207)

Utilizator 24601Dan Ban 24601 Data 30 ianuarie 2018 12:41:27
Problema Map Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 40

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:15:11: warning: format ‘%lu’ expects argument of type ‘long unsigned int *’, but argument 2 has type ‘size_t * {aka unsigned int *}’ [-Wformat=] scanf("%lu %lu ", &n, &m); ^ user.c:15:11: warning: format ‘%lu’ expects argument of type ‘long unsigned int *’, but argument 3 has type ‘size_t * {aka unsigned int *}’ [-Wformat=] user.c:52:12: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘size_t {aka unsigned int}’ [-Wformat=] printf("%lu\n", r); ^ user.c:12:5: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("map.in", "r", stdin); ^ user.c:13:5: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("map.out", "w", stdout); ^ user.c:15:5: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lu %lu ", &n, &m); ^ user.c:18:9: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(s + 1, SIZE + 2, stdin); ^ In file included from /usr/include/stdio.h:936:0, from user.c:1: In function ‘fgets’, inlined from ‘main’ at user.c:18:9: /usr/include/bits/stdio2.h:261:9: warning: call to ‘__fgets_chk_warn’ declared with attribute warning: fgets called with bigger size than length of destination buffer return __fgets_chk_warn (__s, __bos (__s), __n, __stream); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms860kbOK5
20ms876kbOK5
30ms816kbOK5
40ms752kbOK5
50ms796kbOK5
60ms796kbOK5
70ms800kbOK5
80ms864kbOK5
916ms936kbIncorect0
1024ms796kbIncorect0
1120ms880kbIncorect0
1228ms752kbIncorect0
1324ms864kbIncorect0
140ms860kbKilled by signal 6(SIGABRT).0
150ms868kbKilled by signal 6(SIGABRT).0
160ms812kbKilled by signal 6(SIGABRT).0
170ms752kbKilled by signal 6(SIGABRT).0
180ms752kbKilled by signal 6(SIGABRT).0
190ms864kbKilled by signal 6(SIGABRT).0
200ms880kbKilled by signal 6(SIGABRT).0
Punctaj total40

Ceva nu functioneaza?