Pagini recente » Borderou de evaluare (job #1453926) | Borderou de evaluare (job #1533190) | Borderou de evaluare (job #2272098) | Borderou de evaluare (job #1236574) | Borderou de evaluare (job #1998605)
Borderou de evaluare (job #1998605)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d%d",&n,&m);//cin>>n>>m;
^
user.cpp:30:21: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:31:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for(long long int i=0;i<n;i++)scanf("%d",&cocos[i]);//cin>>cocos[i];
^
user.cpp:32:53: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
for(long long int i=0;i<m;i++)scanf("%d",&gaina[i]);//cin>>gaina[i];
^
user.cpp:37:24: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",temp);// cout<<temp<<'\n';
^
user.cpp:26:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cocochanel.in","r",stdin);
^
user.cpp:27:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cocochanel.out","w",stdout);
^
user.cpp:30:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);//cin>>n>>m;
^
user.cpp:31:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(long long int i=0;i<n;i++)scanf("%d",&cocos[i]);//cin>>cocos[i];
^
user.cpp:32:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(long long int i=0;i<m;i++)scanf("%d",&gaina[i]);//cin>>gaina[i];
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 444kb | OK | 10 |
2 | 0ms | 452kb | OK | 10 |
3 | 0ms | 464kb | OK | 10 |
4 | 0ms | 464kb | OK | 10 |
5 | Depăşit | 1988kb | Time limit exceeded. | 0 |
6 | Depăşit | 1988kb | Time limit exceeded. | 0 |
7 | Depăşit | 1992kb | Time limit exceeded. | 0 |
8 | Depăşit | 1988kb | Time limit exceeded. | 0 |
9 | Depăşit | 1992kb | Time limit exceeded. | 0 |
10 | Depăşit | 1988kb | Time limit exceeded. | 0 |
Punctaj total | 40 |