Pagini recente » Borderou de evaluare (job #30219) | Borderou de evaluare (job #3205493) | Borderou de evaluare (job #947164) | Borderou de evaluare (job #3142890) | Borderou de evaluare (job #1407635)
Borderou de evaluare (job #1407635)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:23:44: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d %d", &N, &M, &St, &Fin);
^
user.cpp:27:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &x, &y, &c);
^
user.cpp:34:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &K);
^
user.cpp:36:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:105:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tempest.in", "r", stdin);
^
user.cpp:106:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("tempest.out", "w", stdout);
^
user.cpp:108:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2456ms | 18548kb | OK | 100 |
Punctaj total | 100 |