Pagini recente » Borderou de evaluare (job #2444004) | Borderou de evaluare (job #278914) | Borderou de evaluare (job #264035) | Borderou de evaluare (job #839388) | Borderou de evaluare (job #1701110)
Borderou de evaluare (job #1701110)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:10:23: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%u%u",&n,&k);
^
user.cpp:10:23: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=]
user.cpp:13:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=n;i++)
^
user.cpp:15:22: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%u",&x);
^
user.cpp:19:19: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%u",&m1);
^
user.cpp:20:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=1;i<=m1;i++)
^
user.cpp:22:27: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘long long unsigned int*’ [-Wformat=]
scanf("%u%u",&x,&y);
^
user.cpp:22:27: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘long long unsigned int*’ [-Wformat=]
user.cpp:27:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (flori*(k+1)>suma) flori--;
^
user.cpp:28:28: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%u\n",flori);
^
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori5.in","r",stdin);
^
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("flori5.out","w",stdout);
^
user.cpp:10:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u%u",&n,&k);
^
user.cpp:15:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u",&x);
^
user.cpp:19:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u",&m1);
^
user.cpp:22:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%u%u",&x,&y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 276kb | OK | 10 |
| 2 | 0ms | 272kb | OK | 10 |
| 3 | 0ms | 272kb | OK | 10 |
| 4 | 0ms | 268kb | OK | 10 |
| 5 | 0ms | 272kb | OK | 10 |
| 6 | 0ms | 280kb | OK | 10 |
| 7 | Depăşit | 264kb | Time limit exceeded. | 0 |
| 8 | Depăşit | 1804kb | Time limit exceeded. | 0 |
| 9 | Depăşit | 1800kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 1828kb | Time limit exceeded. | 0 |
| Punctaj total | 60 |