Borderou de evaluare (job #1189350)

Utilizator ASTELOTudor Enescu ASTELO Data 22 mai 2014 15:54:16
Problema Jap2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:26:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%I64d%I64d",&p,&q); ^ user.cpp:26:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:29:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%I64d%I64d",&a,&b); ^ user.cpp:29:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:40:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=] printf("%I64d\n",(nr*nr2)%p); ^ user.cpp:24:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("jap2.in","r",stdin); ^ user.cpp:25:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("jap2.out","w",stdout); ^ user.cpp:26:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%I64d%I64d",&p,&q); ^ user.cpp:29:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%I64d%I64d",&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1244ms276kbIncorect0
21076ms276kbIncorect0
3212ms272kbIncorect0
4124ms272kbIncorect0
5368ms272kbIncorect0
6316ms280kbIncorect0
7160ms260kbIncorect0
8156ms260kbIncorect0
9312ms276kbIncorect0
10316ms276kbIncorect0
11136ms272kbIncorect0
12344ms272kbIncorect0
13692ms272kbIncorect0
14692ms272kbIncorect0
15148ms276kbIncorect0
16360ms280kbIncorect0
17748ms276kbIncorect0
18736ms280kbIncorect0
19740ms276kbIncorect0
20740ms272kbIncorect0
Punctaj total0

Ceva nu functioneaza?