Pagini recente » Borderou de evaluare (job #262589) | Borderou de evaluare (job #980364) | Borderou de evaluare (job #1744232)
Borderou de evaluare (job #1744232)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:7:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
{freopen("cmlsc.in","r",stdin);
^
user.cpp:8:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cmlsc.out","w",stdout);
^
user.cpp:10:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:11:60: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if(n>m){n=n^m;m=n^m;n=n^m;for(i=1;i<=m;i++)scanf("%d",w+i);for(i=1;i<=n;i++)scanf("%d",v+i); }
^
user.cpp:11:93: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if(n>m){n=n^m;m=n^m;n=n^m;for(i=1;i<=m;i++)scanf("%d",w+i);for(i=1;i<=n;i++)scanf("%d",v+i); }
^
user.cpp:13:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=n;i++)scanf("%d",v+i);
^
user.cpp:14:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1;i<=m;i++)scanf("%d",w+i);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 300kb | Raspuns corect! | 10 |
2 | 0ms | 332kb | Raspuns corect! | 10 |
3 | 0ms | 356kb | Raspuns corect! | 10 |
4 | 0ms | 1088kb | Raspuns corect! | 10 |
5 | 0ms | 1312kb | Raspuns corect! | 10 |
6 | 4ms | 2356kb | Raspuns corect! | 10 |
7 | 8ms | 3888kb | Raspuns corect! | 10 |
8 | 8ms | 3940kb | Raspuns corect! | 10 |
9 | 8ms | 4312kb | Raspuns corect! | 10 |
10 | 8ms | 3544kb | Raspuns corect! | 10 |
Punctaj total | 100 |