Pagini recente » Borderou de evaluare (job #1098554) | Borderou de evaluare (job #1571472)
Borderou de evaluare (job #1571472)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long unsigned int*’ [-Wformat=]
{scanf("%d",&z);
^
user.cpp:32:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
printf("%d %d",a,b);
^
user.cpp:32:27: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
user.cpp:10:11: warning: unused variable ‘p’ [-Wunused-variable]
int n,p=1,i;
^
user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("numere5.in","r",stdin);
^
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("numere5.out","w",stdout);
^
user.cpp:12:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:15:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
{scanf("%d",&z);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 64ms | 624kb | Incorect | 0 | 0 |
2 | 0ms | 436kb | OK | 10 |
3 | 72ms | Depăşit | Memory limit exceeded. | 0 |
4 | 44ms | 584kb | OK | 10 |
5 | 104ms | Depăşit | Memory limit exceeded. | 0 |
6 | 164ms | 444kb | Killed by signal 11(SIGSEGV). | 0 | 0 |
7 | 124ms | Depăşit | Memory limit exceeded. | 0 |
8 | 124ms | Depăşit | Memory limit exceeded. | 0 |
9 | 216ms | 400kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 252ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |