Pagini recente » Borderou de evaluare (job #2545664) | Borderou de evaluare (job #771947) | Borderou de evaluare (job #2191709) | Borderou de evaluare (job #2532858) | Borderou de evaluare (job #2187411)
Borderou de evaluare (job #2187411)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:75:44: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%i %i %i", &Year, &x, &y);
^
user.cpp:75:44: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:75:44: warning: format ‘%i’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:87:53: warning: format ‘%i’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%i %i %i %i", &x1, &yy1, &x2, &y2);
^
user.cpp:87:53: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=]
user.cpp:87:53: warning: format ‘%i’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=]
user.cpp:87:53: warning: format ‘%i’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=]
user.cpp:90:23: warning: unused variable ‘a1’ [-Wunused-variable]
long long a1=query(x1, yy1);
^~
user.cpp:91:23: warning: unused variable ‘a2’ [-Wunused-variable]
long long a2=query(x2, yy1);
^~
user.cpp:92:23: warning: unused variable ‘a3’ [-Wunused-variable]
long long a3=query(x1, y2);
^~
user.cpp:93:23: warning: unused variable ‘a4’ [-Wunused-variable]
long long a4=query(x2, y2);
^~
user.cpp:59:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("parcele2.in", "r", stdin);
^
user.cpp:60:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("parcele2.out", "w", stdout);
^
user.cpp:75:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i %i", &Year, &x, &y);
^
user.cpp:87:54: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%i %i %i %i", &x1, &yy1, &x2, &y2);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 96ms | 17796kb | Accepted! | 100 |
Punctaj total | 100 |