Pagini recente » Borderou de evaluare (job #2003896) | Borderou de evaluare (job #2364118) | Borderou de evaluare (job #2510184) | Borderou de evaluare (job #1617087) | Borderou de evaluare (job #1352012)
Borderou de evaluare (job #1352012)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:53:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long int*’ [-Wformat=]
scanf("%d %d", &x, &y);
^
user.cpp:53:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=]
user.cpp:43:24: warning: unused variable ‘rez’ [-Wunused-variable]
unsigned long long rez;
^
user.cpp:41: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:42: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:45:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &T);
^
user.cpp:48: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:53: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 | 584ms | 1020kb | Incorect | 0 |
Punctaj total | 0 |