Pagini recente » Borderou de evaluare (job #196493) | Borderou de evaluare (job #2927564) | Borderou de evaluare (job #3044022) | Borderou de evaluare (job #1676855) | Borderou de evaluare (job #2258506)
Borderou de evaluare (job #2258506)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("easygraph.in", "r", stdin);
^
user.cpp:13:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("easygraph.out", "w", stdout);
^
user.cpp:14:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp: In function ‘void Read()’:
user.cpp:25:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
user.cpp:30:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i=1; i<=N; ++i)scanf("%d", &Cost[i]);
^
user.cpp:32:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &x, &y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 1156kb | Time limit exceeded. | 0 |
Punctaj total | 0 |