Pagini recente » Borderou de evaluare (job #1758859) | Borderou de evaluare (job #2336158) | Borderou de evaluare (job #1582646) | Borderou de evaluare (job #2400912) | Borderou de evaluare (job #2122545)
Borderou de evaluare (job #2122545)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:41:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d %d\n",x*(c/ras),y*(c/ras));
^
user.cpp:41:49: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=]
user.cpp: In function ‘void read2()’:
user.cpp:60:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d",x);
^
user.cpp:51:13: warning: variable ‘ras’ set but not used [-Wunused-but-set-variable]
int a,n,ras;
^
user.cpp: In function ‘void read()’:
user.cpp:27:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("euclid3.in","r",stdin);
^
user.cpp:28:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("euclid3.out","w",stdout);
^
user.cpp:30:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for( scanf("%d",&T),assert(T<=100);T;T--)
^
user.cpp:33:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&a,&b,&c);
^
user.cpp: In function ‘void read2()’:
user.cpp:52:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inversmodular.in","r",stdin);
^
user.cpp:53:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("inversmodular.out","w",stdout);
^
user.cpp:54:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&n);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 1312kb | OK | 10 |
| 2 | 0ms | 1316kb | OK | 10 |
| 3 | 0ms | 1320kb | OK | 10 |
| 4 | 0ms | 1316kb | OK | 10 |
| 5 | 0ms | 1312kb | OK | 10 |
| 6 | 0ms | 1312kb | OK | 10 |
| 7 | 0ms | 1312kb | OK | 10 |
| 8 | 0ms | 1312kb | OK | 10 |
| 9 | 0ms | 1316kb | OK | 10 |
| 10 | 0ms | 1312kb | OK | 10 |
| Punctaj total | 100 |