Pagini recente » Borderou de evaluare (job #1725030) | Borderou de evaluare (job #1463118) | Borderou de evaluare (job #2504573) | Borderou de evaluare (job #1208947) | Borderou de evaluare (job #1390813)
Borderou de evaluare (job #1390813)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
for(int j=1;j<=n;j++) scanf("%d",&v[i][j]);
^
user.cpp:25:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("revolutie.in", "r", stdin);
^
user.cpp:26:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("revolutie.out", "w", stdout);
^
user.cpp:28:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:30:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(int j=1;j<=n;j++) scanf("%d",&v[i][j]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 252kb | Corect | 10 |
| 2 | 0ms | 256kb | Corect | 10 |
| 3 | 0ms | 248kb | Corect | 10 |
| 4 | 0ms | 248kb | Corect | 10 |
| 5 | 0ms | 256kb | Corect | 10 |
| 6 | 0ms | 256kb | Corect | 10 |
| 7 | 0ms | 268kb | Corect | 10 |
| 8 | 0ms | 264kb | Corect | 10 |
| 9 | 4ms | 264kb | Corect | 10 |
| 10 | 4ms | 272kb | Corect | 10 |
| Punctaj total | 100 |