Pagini recente » Borderou de evaluare (job #2451921) | ACM Unibuc 2014 - 2015 | Borderou de evaluare (job #2119473) | Borderou de evaluare (job #2119479) | Borderou de evaluare (job #2242688)
Borderou de evaluare (job #2242688)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:32:13: warning: passing argument 1 of ‘fprintf’ from incompatible pointer type [-Wincompatible-pointer-types]
fprintf("%d",nr*nr);
^~~~
In file included from /usr/include/stdio.h:936:0,
from user.c:1:
/usr/include/bits/stdio2.h:95:1: note: expected ‘FILE * restrict {aka struct _IO_FILE * restrict}’ but argument is of type ‘char *’
fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
^~~~~~~
user.c:32:18: warning: passing argument 2 of ‘fprintf’ makes pointer from integer without a cast [-Wint-conversion]
fprintf("%d",nr*nr);
^~
In file included from /usr/include/stdio.h:936:0,
from user.c:1:
/usr/include/bits/stdio2.h:95:1: note: expected ‘const char * restrict’ but argument is of type ‘int’
fprintf (FILE *__restrict __stream, const char *__restrict __fmt, ...)
^~~~~~~
user.c:32:5: warning: format not a string literal and no format arguments [-Wformat-security]
fprintf("%d",nr*nr);
^~~~~~~
user.c: In function ‘KnrPrim’:
user.c:20:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.c: In function ‘main’:
user.c:27:5: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fp,"%d",&n);
^~~~~~~~~~~~~~~~~~
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1036kb | Killed by signal 11(SIGSEGV). | 0 |
| 2 | 0ms | 1040kb | Killed by signal 11(SIGSEGV). | 0 |
| 3 | 0ms | 1040kb | Killed by signal 11(SIGSEGV). | 0 |
| 4 | 0ms | 1040kb | Killed by signal 11(SIGSEGV). | 0 |
| 5 | 0ms | 1036kb | Killed by signal 11(SIGSEGV). | 0 |
| 6 | 0ms | 1040kb | Killed by signal 11(SIGSEGV). | 0 |
| 7 | 0ms | 1040kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 0ms | 1036kb | Killed by signal 11(SIGSEGV). | 0 |
| 9 | 0ms | 1040kb | Killed by signal 11(SIGSEGV). | 0 |
| 10 | 0ms | 1040kb | Killed by signal 11(SIGSEGV). | 0 |
| Punctaj total | 0 |