Pagini recente » Cod sursa (job #263903) | Cod sursa (job #1822459) | Cod sursa (job #2510298) | Borderou de evaluare (job #1567251)
Borderou de evaluare (job #1567251)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:48:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long unsigned int*’ [-Wformat=]
scanf("%d%d",&a,&b);
^
user.cpp:48:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long unsigned int*’ [-Wformat=]
user.cpp:58:35: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
printf("%d %d %d",minn,maxx,nr);
^
user.cpp:46:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxd.in","r",stdin);
^
user.cpp:47:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxd.out","w",stdout);
^
user.cpp:48:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&a,&b);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 12ms | Depăşit | Memory limit exceeded. | 0 | 0 |
2 | 12ms | Depăşit | Memory limit exceeded. | 0 |
3 | 12ms | Depăşit | Memory limit exceeded. | 0 |
4 | 12ms | Depăşit | Memory limit exceeded. | 0 |
5 | 12ms | Depăşit | Memory limit exceeded. | 0 | 0 |
6 | 12ms | Depăşit | Memory limit exceeded. | 0 |
7 | 12ms | Depăşit | Memory limit exceeded. | 0 |
8 | 12ms | Depăşit | Memory limit exceeded. | 0 | 0 |
9 | 12ms | Depăşit | Memory limit exceeded. | 0 |
10 | 12ms | Depăşit | Memory limit exceeded. | 0 |
Punctaj total | 0 |