Pagini recente » Cod sursa (job #2881401) | Cod sursa (job #3209864) | Cod sursa (job #643579) | Borderou de evaluare (job #1953843) | Borderou de evaluare (job #2243647)
Borderou de evaluare (job #2243647)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:39: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%d", &elevi[i].absences);
^
user.cpp:32:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%1d", &elevi[i].amigo);
^
user.cpp:34:37: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=]
scanf("%1d", &elevi[i].enemy);
^
user.cpp:66:31: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n", minAbsences);
^
user.cpp:22:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("grup.in","r",stdin);
^
user.cpp:23:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("grup.out","w",stdout);
^
user.cpp:27:50: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &n, &required, &k1, &k2);
^
user.cpp:30:40: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &elevi[i].absences);
^
user.cpp:32:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%1d", &elevi[i].amigo);
^
user.cpp:34:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%1d", &elevi[i].enemy);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 876kb | Incorect | 0 |
| 2 | 0ms | 792kb | Incorect | 0 |
| 3 | 0ms | 756kb | Incorect | 0 |
| 4 | 0ms | 808kb | Incorect | 0 |
| 5 | 0ms | 756kb | Incorect | 0 |
| 6 | 28ms | 1008kb | Incorect | 0 |
| 7 | 48ms | 1248kb | Incorect | 0 |
| 8 | 72ms | 1480kb | Incorect | 0 |
| 9 | 96ms | 1768kb | Incorect | 0 |
| 10 | 96ms | 1772kb | Incorect | 0 |
| Punctaj total | 0 |