Pagini recente » Borderou de evaluare (job #269224) | Borderou de evaluare (job #1569820) | Borderou de evaluare (job #2144775) | Borderou de evaluare (job #1581304) | Borderou de evaluare (job #2649153)
Borderou de evaluare (job #2649153)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:21:27: warning: format '%llu' expects argument of type 'long long unsigned int*', but argument 3 has type 'int*' [-Wformat=]
scanf("%llu%llu",&n,&p);
^
main.cpp:60:40: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(!ok)for(j=x[i];j>=1 && p<cif[j-1];j--);
~^~~~~~~~~
main.cpp:61:36: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
else for(j=9;j>=1 && p<cif[j-1];j--);
~^~~~~~~~~
main.cpp:81:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=9;j>=1 && p<cif[j-1];j--);
~^~~~~~~~~
main.cpp:18:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("7segmente.in","r",stdin);
^
main.cpp:19:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("7segmente.out","w",stdout);
^
main.cpp:21:28: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%llu%llu",&n,&p);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Te stii ! | 5 |
2 | 2ms | 131kb | Te stii ! | 5 |
3 | 2ms | 131kb | Te stii ! | 5 |
4 | 2ms | 131kb | Te stii ! | 5 |
5 | 2ms | 131kb | Te stii ! | 5 |
6 | 2ms | 131kb | Te stii ! | 5 |
7 | 2ms | 131kb | Te stii ! | 5 |
8 | 2ms | 131kb | Te stii ! | 5 |
9 | 2ms | 131kb | Te stii ! | 5 |
10 | 2ms | 131kb | Te stii ! | 5 |
11 | 2ms | 131kb | Te stii ! | 5 |
12 | 2ms | 131kb | Te stii ! | 5 |
13 | 2ms | 131kb | Te stii ! | 5 |
14 | 2ms | 131kb | Te stii ! | 5 |
15 | 2ms | 131kb | Te stii ! | 5 |
16 | 2ms | 131kb | Te stii ! | 5 |
17 | 2ms | 131kb | Te stii ! | 5 |
18 | 2ms | 131kb | Te stii ! | 5 |
19 | 2ms | 131kb | Te stii ! | 5 |
20 | 2ms | 131kb | Te stii ! | 5 |
Punctaj total | 100 |