Pagini recente » Cod sursa (job #3266922) | Cod sursa (job #1077581) | Cod sursa (job #916309) | Cod sursa (job #391827) | Borderou de evaluare (job #1282085)
Borderou de evaluare (job #1282085)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alegeri.in", "rt", stdin);
^
user.cpp:34:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("alegeri.out", "wt", stdout);
^
user.cpp:36:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &t);
^
user.cpp:40:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:44:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &w);
^
user.cpp:46:56: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if(w==0)scanf("%d%d", &x[i], &y[i]), c[i]=0;
^
user.cpp:47:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
else scanf("%d %d %d\n", &x[i], &y[i], &c[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 632ms | 3700kb | OK | 100 |
Punctaj total | 100 |