Pagini recente » Cod sursa (job #1217366) | Borderou de evaluare (job #1510179) | Borderou de evaluare (job #2611946) | Cod sursa (job #896532) | Borderou de evaluare (job #1339131)
Borderou de evaluare (job #1339131)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
scanf("%d %d", &S, &N);
^
user.cpp:14:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘char*’ [-Wformat=]
scanf("%d %d", &GR[i], &V[i]);
^
user.cpp:14:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘char*’ [-Wformat=]
user.cpp:10:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pusculita.in", "r",stdin);
^
user.cpp:11:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("pusculita.out","w",stdout);
^
user.cpp:12:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &S, &N);
^
user.cpp:14:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &GR[i], &V[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 248kb | OK | 10 |
| 2 | 0ms | 244kb | OK | 10 |
| 3 | 0ms | 240kb | OK | 10 |
| 4 | 0ms | 244kb | OK | 10 |
| 5 | 4ms | 280kb | OK | 10 |
| 6 | 4ms | 280kb | OK | 10 |
| 7 | 0ms | 272kb | OK | 10 |
| 8 | 0ms | 244kb | OK | 10 |
| 9 | 0ms | 280kb | OK | 10 |
| 10 | 0ms | 260kb | OK | 10 |
| Punctaj total | 100 |