Pagini recente » Borderou de evaluare (job #1440967) | Borderou de evaluare (job #1440261)
Borderou de evaluare (job #1440261)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:28:43: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld%ld",&v[j].d,&v[j].t);
^
user.cpp:28:43: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=]
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("teme.in","r",stdin);
^
user.cpp:23:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&t);
^
user.cpp:26:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld",&n);
^
user.cpp:28:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld%ld",&v[j].d,&v[j].t);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 232ms | 508kb | OK | 100 |
Punctaj total | 100 |