Pagini recente » Borderou de evaluare (job #1499048) | Borderou de evaluare (job #1980124) | Borderou de evaluare (job #3276129) | Borderou de evaluare (job #2883794) | Borderou de evaluare (job #2612040)
Borderou de evaluare (job #2612040)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:34:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(nr0(mij) >= p)
~~~~~~~~~^~~~
main.cpp:41:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(nr0(nr) != p)
~~~~~~~~^~~~
main.cpp:19:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("fact.in", "r", stdin);
^
main.cpp:20:37: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("fact.out", "w", stdout);
^
main.cpp:22:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &p);
^
main.cpp:9:13: warning: 'nr' may be used uninitialized in this function [-Wmaybe-uninitialized]
while(x / p)
~~^~~
main.cpp:30:39: note: 'nr' was declared here
int st = 1, dr = 1000000010, mij, nr;
^~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | Corect! | 5 |
2 | 2ms | 131kb | Corect! | 5 |
3 | 2ms | 131kb | Corect! | 5 |
4 | 2ms | 131kb | Corect! | 5 |
5 | 2ms | 131kb | Corect! | 5 |
6 | 2ms | 131kb | Corect! | 5 |
7 | 2ms | 131kb | Corect! | 5 |
8 | 2ms | 131kb | Corect! | 5 |
9 | 2ms | 131kb | Corect! | 5 |
10 | 2ms | 131kb | Corect! | 5 |
11 | 2ms | 131kb | Corect! | 5 |
12 | 2ms | 131kb | Corect! | 5 |
13 | 2ms | 131kb | Corect! | 5 |
14 | 2ms | 131kb | Corect! | 5 |
15 | 2ms | 131kb | Corect! | 5 |
16 | 2ms | 131kb | Corect! | 5 |
17 | 2ms | 131kb | Corect! | 5 |
18 | 2ms | 131kb | Corect! | 5 |
19 | 2ms | 131kb | Corect! | 5 |
20 | 2ms | 131kb | Corect! | 5 |
Punctaj total | 100 |