Pagini recente » Borderou de evaluare (job #1629711) | Borderou de evaluare (job #1495681) | Cod sursa (job #2078393) | Cod sursa (job #540971) | Borderou de evaluare (job #1750051)
Borderou de evaluare (job #1750051)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:17:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=]
scanf("%d %d", &x,&y);
^
user.cpp:17:22: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=]
user.cpp:34:19: warning: left operand of comma operator has no effect [-Wunused-value]
for(int i=x,j=y;i>0,j>0;){
^
user.cpp:12:33: 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:13:35: 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:17:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x,&y);
^
user.cpp:20:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&a[i]);
^
user.cpp:23:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&b[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 468kb | Raspuns corect! | 10 |
| 2 | 0ms | 504kb | Raspuns corect! | 10 |
| 3 | 0ms | 524kb | Raspuns corect! | 10 |
| 4 | 0ms | 1276kb | Raspuns corect! | 10 |
| 5 | 0ms | 1508kb | Raspuns corect! | 10 |
| 6 | 4ms | 2576kb | Raspuns corect! | 10 |
| 7 | 8ms | 4552kb | Killed by signal 11(SIGSEGV). | 0 |
| 8 | 8ms | 4200kb | Raspuns corect! | 10 |
| 9 | 8ms | 4576kb | Raspuns corect! | 10 |
| 10 | 8ms | 3788kb | Raspuns corect! | 10 |
| Punctaj total | 90 |