Pagini recente » Borderou de evaluare (job #2311715) | Borderou de evaluare (job #3292342) | Borderou de evaluare (job #2041647) | Borderou de evaluare (job #3206328) | Borderou de evaluare (job #1193289)
Borderou de evaluare (job #1193289)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:39:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d%d%d",&N,&A,&B,&C);
^
user.cpp:39:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:39:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:39:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:44:28: warning: operation on ‘V[0]’ may be undefined [-Wsequence-point]
V[++V[0]]=(A*V[V[0]-1]+B)%C;
^
user.cpp:48:42: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
for (i=1;i<=V[0];i+=10) printf("%d ",V[i]);
^
user.cpp:36:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("radixsort.in","r",stdin);
^
user.cpp:37:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("radixsort.out","w",stdout);
^
user.cpp:39:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&N,&A,&B,&C);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 300kb | OK | 10 | 30 |
2 | 88ms | 1796kb | OK | 10 |
3 | 912ms | 16124kb | OK | 10 |
4 | 912ms | 16100kb | OK | 10 | 0 |
5 | 1036ms | Depăşit | Memory limit exceeded. | 0 |
6 | 1044ms | Depăşit | Memory limit exceeded. | 0 |
7 | 968ms | 16172kb | OK | 10 |
8 | 1048ms | Depăşit | Memory limit exceeded. | 0 | 0 |
9 | 1048ms | Depăşit | Memory limit exceeded. | 0 |
10 | 1040ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 30 |