Pagini recente » Cod sursa (job #2337361) | Cod sursa (job #2599421) | Cod sursa (job #894336) | Cod sursa (job #575520) | Borderou de evaluare (job #1265718)
Borderou de evaluare (job #1265718)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:74:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld",&n);
^
user.cpp:93:26: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld",Ans.C[i]);
^
user.cpp:96:69: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld%ld%ld",Ans.C[i]/100,(Ans.C[i]/10)%10,Ans.C[i]%10);
^
user.cpp:96:69: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp:96:69: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘long long int’ [-Wformat=]
user.cpp:95:14: warning: unused variable ‘x’ [-Wunused-variable]
long x = Ans.C[i];
^
user.cpp:71:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("petrecere.in","r",stdin);
^
user.cpp:72:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("petrecere.out","w",stdout);
^
user.cpp:74:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 516kb | OK | 5 |
2 | 0ms | 520kb | OK | 5 |
3 | 0ms | 512kb | Incorect | 0 |
4 | 0ms | 512kb | Incorect | 0 |
5 | 0ms | 520kb | Incorect | 0 |
6 | 0ms | 512kb | Incorect | 0 |
7 | 0ms | 512kb | Incorect | 0 |
8 | 0ms | 516kb | Incorect | 0 |
9 | 0ms | 520kb | Incorect | 0 |
10 | 4ms | 516kb | Incorect | 0 |
11 | 8ms | 516kb | Incorect | 0 |
12 | 12ms | 520kb | Incorect | 0 |
13 | 20ms | 528kb | Incorect | 0 |
14 | 32ms | 520kb | Incorect | 0 |
15 | 48ms | 516kb | Incorect | 0 |
16 | Depăşit | 492kb | Time limit exceeded. | 0 |
17 | Depăşit | 488kb | Time limit exceeded. | 0 |
18 | Depăşit | 492kb | Time limit exceeded. | 0 |
19 | Depăşit | 476kb | Time limit exceeded. | 0 |
20 | Depăşit | 480kb | Time limit exceeded. | 0 |
Punctaj total | 10 |