Pagini recente » Borderou de evaluare (job #1329302) | Borderou de evaluare (job #1804396) | Borderou de evaluare (job #489485) | Borderou de evaluare (job #3268285) | Borderou de evaluare (job #1351971)
Borderou de evaluare (job #1351971)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:50:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d", &x, &y);
^
user.cpp:50:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:42:24: warning: unused variable ‘rez’ [-Wunused-variable]
unsigned long long rez;
^
user.cpp:40:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("meciul.in","r",stdin);
^
user.cpp:41:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("meciul.out","w",stdout);
^
user.cpp:44:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:47:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &M);
^
user.cpp:50:35: 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 | 596ms | 1012kb | Incorect | 0 |
Punctaj total | 0 |