Pagini recente » Borderou de evaluare (job #1743644) | Borderou de evaluare (job #1698387) | Borderou de evaluare (job #175535) | Borderou de evaluare (job #1654350) | Borderou de evaluare (job #1998988)
Borderou de evaluare (job #1998988)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:9:75: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
scanf("%d", &n); f1 = 1, f2 = 2; if (n < 3) {printf("%d", (n==1?f1:f2));return 0;}
^
user.cpp:11:20: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long unsigned int’ [-Wformat=]
printf("%d", f3);
^
user.cpp:12:28: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("\n%u",(1LL<<32));
^
user.cpp:7:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nunta.in","r",stdin);
^
user.cpp:8:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("nunta.out","w",stdout);
^
user.cpp:9:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n); f1 = 1, f2 = 2; if (n < 3) {printf("%d", (n==1?f1:f2));return 0;}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | Depăşit | Memory limit exceeded. | 0 |
2 | 0ms | Depăşit | Memory limit exceeded. | 0 |
3 | 0ms | Depăşit | Memory limit exceeded. | 0 |
4 | 0ms | Depăşit | Memory limit exceeded. | 0 |
5 | 0ms | Depăşit | Memory limit exceeded. | 0 |
6 | 0ms | Depăşit | Memory limit exceeded. | 0 |
7 | 0ms | Depăşit | Memory limit exceeded. | 0 |
8 | 0ms | Depăşit | Memory limit exceeded. | 0 |
9 | 0ms | Depăşit | Memory limit exceeded. | 0 |
10 | 0ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |